Difference between revisions of "ARIA label Property"

From Level Access Web Labs
Jump to navigation Jump to search
(Button example)
Line 36: Line 36:
 
<button aria-label="aria-label">inner text</button>
 
<button aria-label="aria-label">inner text</button>
 
<button title="title"></button>
 
<button title="title"></button>
 +
<button> <span class="visuallyhidden">visually hidden text</span></button>
 
</html>
 
</html>
  
 
[[Category:ARIA]]
 
[[Category:ARIA]]
 
[[Category:Aria-label]]
 
[[Category:Aria-label]]

Revision as of 14:05, 27 February 2015

  • 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