3 ms·
<input name="foo" type="text" autofocus> HTML takes care of the accessibility for you in this case. Going further, plain HTML is by and large 99.9% accessible.
by ttfkam 3y ago
<input name="foo" type="text" autofocus>
HTML takes care of the accessibility for you in this case. Going further, plain HTML is by and large 99.9% accessible. As developers—as uncomfortable as it may be to hear—we take a 99.9% accessible markup foundation and BREAK that accessibility with our CSS and JS choices, then run through hoops patching accessibility back in again with a hodgepodge of aria-role attributes and scripting hacks.
Folks really don't get how much work went into plain old disrespected HTML. We just keep putting that fake brick wallpaper over real brick walls.