re>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRole()</pre>
<div class="block"><p>
 Return the value of the <code>role</code> property.
 </p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></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
 