WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tried to make it accessible; now it doesn't look good

for

From: Patrick H. Lauke
Date: Oct 14, 2018 9:12AM


On 14/10/2018 15:02, JP Jamous wrote:

> I find the disabled="disabled" attribute to be interesting. Many folks refer
> to it as deprecated or not semantically correct, yet it does work in all
> browsers and ATs that I have tested.

A link with the disabled attribute still gets focus and can be activated
as normal in Firefox, Chrome, Edge using NVDA, JAWS and Narrator. The
only browser where I've seen links with disabled="disabled" acting as
actually disabled links is IE11 (and there the behavior is non-standard,
as disabled is not a valid attribute for links).

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke