Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While I do agree with the latter 2 points, (can't multi-jump, hard to memorize), the assertion

  It follows the order of the DOM elements and not the visual position of these elements on the page, which means that it uses the HTML structure (not user-friendly), but it should go after the layout position (spatial position);
Isn't quite true - all HTML elements support the "tabindex" attribute[0], which can be used to set the tab order of a page's HTML elements.

That being said, using "tabindex" (or having an out-of-order page structure) can cause accessibility problems for those using screen-readers and related programs.

From [0]:

  Warning: Avoid using tabindex values greater than 0. Doing so makes it difficult for people who rely on assistive technology to navigate and operate page content. Instead, write the document with the elements in a logical sequence.
[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...


Better than tabindex is assigning semantically-sound access keys (alt+shift+some-letter-that-makes-sense-for-the-task).

For example on Wikipedia (and in MediaWiki in general), Alt+Shift+F is search (I guess F is for Find; S is already taken by Save anyway, for people who edit).

There's a lot of them, though most of them immediately navigate you rather than focus an element - https://meta.wikimedia.org/wiki/Help:Keyboard_shortcuts




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: