WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: HTML disabled or aria-disabled on checkbox

for

From: Tom Livingston
Date: Jun 7, 2023 6:45AM


There are far more knowledgeable people on this list but I would think (and hope) that HTML disabled attribute would be best and covers all users.

___
TL

> On Jun 7, 2023, at 1:58 AM, Laurence Lewis < <EMAIL REMOVED> > wrote:
>
> This is not a question on whether a checkbox should be disabled, it is a
> question which is the better method for inclusion.
>
> I'd appreciate some accessibility guidance, on the pros and cons of
> disabling a checkbox with HTML disabled attribute or aria-disabled.
>
> My understanding is:
>
> - (HTML) is not focusable and is styled by the browser.
> - (ARIA) is focusable and requires custom styling.
>
> But, which is the better option to use? The norm (for me anyway) is an HTML
> first approach, however this is one time when I am not sure which method
> provides the better user experience.
>
> Regards
>
> Laurence
>
> Accessibility Senior Specialist
>
> Telstra Digital Channels | Digital Systems
> > > >