WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: css flex and accessibility


From: Patrick H. Lauke
Date: Jun 24, 2020 7:45AM

On 24/06/2020 14:30, Sandy Feldman wrote:
> Léonie, this is really useful! Thanks very much.
> Here's my takeaway - flex is ok for everything except for reordering
> content, which is going to mess with the tab order. Browser can fix
> that, but they haven't.

And there's an argument that browsers shouldn't fix this
indiscriminately, as there are certainly cases where an author may have
a particular reading/focus order in mind, while also wanting to define a
different visual presentation. In those cases, browsers just naively
applying heuristics to "fix" reading/focus order would go against these
authors' efforts (with no current way for them to explicitly opt out of
this / signal to the browser "no, I know what I'm doing")

Patrick H. Lauke

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