g/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getRole</span>()</div>
<div class="block"><p>
 Return the value of the <code>role</code> property.
 </p></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the property value
 <p>
 Contents:
 <p class="changed_added_2_2">
 Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have
 a "role" attribute whose value must be passed t