3 ms·
Principle of Least Astonishment "In user interface design and software design,[1] the principle of least astonishment (POLA), also known as principle of least
by bdcravens 3y ago
Principle of Least Astonishment
"In user interface design and software design,[1] the principle of least astonishment (POLA), also known as principle of least surprise,[a] proposes that a component of a system should behave in a way that most users will expect it to behave, and therefore not astonish or surprise users."
https://en.wikipedia.org/wiki/Principle_of_least_astonishment https://en.wikipedia.org/wiki/Principle_of_least_astonishmen...
Such a feature would negatively affect accessibility, without some sort of accessible clue about where the cursor was moved.
- necovek 3y agoIt's perfectly possible to have sufficient a11y tags indicating where the cursor is: if anything, this would help accessibility, and a page which is solely there to accept OTP code being focused on the input field would not be at all surprising. Even without any a11y hint other than a field label, a11y tools and users would probably appreciate it just like regular user would: imagine a screen reader having to go through 20 menu items to get to the OTP code entry field.
- 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.
- deleted 3y ago[deleted]
- pengaru 3y agoJust because there's a named principle with its own wikipedia page doesn't mean many web devs aren't just lazy slackers and either didn't notice the usability problem, didn't care enough to change it, or just didn't know how and didn't care enough to figure it out.