2 ms·
So you have focus on a button, which then becomes disabled, this throws focus back at the document level. That sounds like a browser bug to me. It's absurd beh
by iteratethis 3y ago
So you have focus on a button, which then becomes disabled, this throws focus back at the document level.
That sounds like a browser bug to me. It's absurd behavior. The focus change is as unhelpful as is humanly possible. It's not what the developer intended, it's not what anyone possibly would intend, so why is it the default behavior?
Same for "implementing an ARIA live region"
How about no? Developers are supposed to piece together hundreds of obscure articles to figure out the right way to build an accessible form. Most won't, but if they do, they're still not confident about its implementation.
How about after 30 years the web platform provides some elements that actually do something, with sane defaults instead of millions of developers being puzzled what to do for even the most basic of tasks?