E-mail List Archives
Re: ARIA controls
From: Jukka K. Korpela
Date: Sep 3, 2014 12:45PM
- Next message: Birkir R. Gunnarsson: "Re: ARIA controls"
- Previous message: Birkir R. Gunnarsson: "Re: Accessible YouTube embedded player?"
- Next message in Thread: Birkir R. Gunnarsson: "Re: ARIA controls"
- Previous message in Thread: Stanzel, Susan - FSA, Kansas City, MO: "ARIA controls"
- View all messages in this Thread
2014-09-03 21:21, Stanzel, Susan - FSA, Kansas City, MO kirjoitti:
> I am not very well versed in html5 so please excuse me if this is a
> stupid question. I am unsure when ARIA controls are necessary. If for
> example you use the label for and the ID correctly as I have done
> previously why would I need the labeledby statement?
You don't need ARIA attributes in such cases. They are meant to be used
for providing information that programs cannot infer from normal HTML
markup.
First rule of ARIA use in the working draft "Using WAI-ARIA in HTML" is:
"If you can use a native HTML element [HTML5] or attribute with the
semantics and behaviour you require already built in, instead of
re-purposing an element and adding an ARIA role, state or property to
make it accessible, then do so."
http://www.w3.org/TR/aria-in-html/#first-rule-of-aria-use
The <label> element is an HTML element for the purpose of specifying a
label for a control. When you can use it, you do not need to duplicate
this with aria-labeledby.
Yucca
- Next message: Birkir R. Gunnarsson: "Re: ARIA controls"
- Previous message: Birkir R. Gunnarsson: "Re: Accessible YouTube embedded player?"
- Next message in Thread: Birkir R. Gunnarsson: "Re: ARIA controls"
- Previous message in Thread: Stanzel, Susan - FSA, Kansas City, MO: "ARIA controls"
- View all messages in this Thread