WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Aria-disabled is required ?

for

From: Steve Faulkner
Date: Mar 8, 2018 6:50AM


>
> … if we are correctly applying the HTML disabled attribute to these
> elements, *do we actually need the aria-disabled attribute as well?*


definitely not

Use the disabled attribute on any element that is allowed the disabled
> attribute
> <https://www.w3.org/TR/html/sec-forms.html#enabling-and-disabling-form-controls-the-disabled-attribute>
> in HTML5. Only use the aria-disabled attribute for elements that are *not
> allowed* to have a disabled attribute in HTML5
>
https://www.w3.org/TR/html-aria/#attr-disabled


--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;

On 8 March 2018 at 13:26, Kakarla Meharoon < <EMAIL REMOVED> >
wrote:

> … if we are correctly applying the HTML disabled attribute to these
> elements, *do we actually need the aria-disabled attribute as well?*
>
> If not, the where there are cases where we are NOT applying HTML disabled
> when an element is disabled, shouldn't the fix be to do that, rather than
> add aria-disabled?
>
> See for example
> https://stackoverflow.com/questions/38059140/when-to-
> use-the-disabled-attribute-vs-the-aria-disabled-attribute-for-html-eleme
> which suggests that we don't need both.
> > > > >