Difference between revisions of "ARIA label Property"

From Level Access Web Labs
Jump to navigation Jump to search
m (Jon Avila moved page Aria-label ARIA Property to ARIA label Property)
Line 38: Line 38:
 
<button> <span class="visuallyhidden">visually hidden text</span></button>
 
<button> <span class="visuallyhidden">visually hidden text</span></button>
 
</html>
 
</html>
 +
 +
==Span==
 +
<span aria-label="this is an aria-label"> This is text.</span>
 +
 +
==Div==
 +
<div aria-label="this is an aria-label"> This is text.</div>
  
 
[[Category:ARIA]]
 
[[Category:ARIA]]
 
[[Category:Aria-label]]
 
[[Category:Aria-label]]

Revision as of 00:32, 19 March 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

Span

This is text.

Div

This is text.