Difference between revisions of "ARIA label Property"

From Level Access Web Labs
Jump to navigation Jump to search
Line 9: Line 9:
  
 
<html>
 
<html>
<label>City:</label>
+
  <label>City:</label>
<input aria-label="City" type="text" id="c1" />
+
  <input aria-label="City" type="text" id="c1" />
<button> Go </button>
+
  <button> Go </button>
 
</html>
 
</html>
  

Revision as of 12:56, 9 September 2016

  • aria-label won't be announced when applied to elements that do not contain valid ARIA region/landmark roles or if they are not already active elements like form fields, links, or buttons.

Input example

Link example

Learn more about SSB BART Group Click here

Region example

Related links

This is some text in the region. SSB BART Group

Button example

Span

This is text.

Div

This is text.