28

1 new answer to this question

The "link" is a actually a div and is thus not screenreader-compatible (or in my case not Vimium-compatible). Vimium is an extension for Chrome which adds keyboard shortcuts for a lot of browser functionalities.

Enter image description here

10
  • 10
    To whomever voted to close this question: vimium is an extension for Chrome which adds keyboard shortcuts for a lot of browser funcionalities. The OP wants to load new answers with a keyboard shortcut but the current HTML makes it difficult to do so (vimium or no vimium, actually).
    – Geeky Guy
    Commented Aug 24, 2016 at 14:31
  • 5
    @renan Your comment missed the "edit" link by a few pixels.
    – Cody Gray Mod
    Commented Aug 24, 2016 at 15:20
  • related earlier issues that were fixed: meta.stackoverflow.com/questions/316022/…
    – rene
    Commented Aug 24, 2016 at 15:33
  • I suppose technically it should be a <button>, would that work for your extension?
    – user247702
    Commented Aug 24, 2016 at 15:38
  • It applies to questions/answers with a new edit, as well. I would imagine that a fix to one would fix them all, though.
    – Makoto
    Commented Aug 24, 2016 at 19:43
  • 6
    You may want to post this on the main meta meta.stackexchange.com since its an issue with all sites.
    – Jason C
    Commented Aug 24, 2016 at 21:39
  • @cat I certainly didn't say it was unwelcome here.
    – Jason C
    Commented Aug 25, 2016 at 3:42
  • 1
    I'm not a "Vimium" user; can you please tell me - does "Vimium" support tabindex? meaning: if I add tabindex="0" to a regular <div>, it becomes "tabbable"; is that enough for "Vimium" to use it? maybe we just need to try it...
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 10:54
  • It's not about being tabbable, but about accessibility (for Vimium or any screen reader). A <div> does not carry a semantic meaning of being a clickable item. I'm pretty much aligned with this answer here: stackoverflow.com/a/2777280/632133
    – Oleg
    Commented Aug 25, 2016 at 11:05
  • @Oleg accessibility is a valid concern; however, I am not going to assume that "any screen reader" follows the same semantics as Vimium. They are separate things. I'm can look at making it more semantically idiomatic, but the trick is always trying to do that without breaking things too much :)
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 13:01

1 Answer 1

6

These pieces should have <a> anchors in the next build. I think I've managed to squeeze it in without them breaking completely, but please do let me know if they're now unusable :)

13
  • 3
    Current experience on unusability (not using vimium): 1. The bar is no longer clickable, need to click on the link text. 2. F shortcut key no longer working.
    – laalto
    Commented Aug 25, 2016 at 14:07
  • @laalto 1: yes, that's how idiomatically how links work; 2: will be fixed in a moment
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 14:14
  • Why not a <button>?
    – user247702
    Commented Aug 25, 2016 at 14:17
  • @Stijn we're pretty sparing with our use of button, and we usually only use it when you're actually doing something (as in: changing data); stylistically, it would be inconsistent to use a button here
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 14:20
  • I'm not sure if I correctly understand your second point, do you mean that you can't properly style the element (you can) or that it would be inconsistent compared to your 'normal' use of buttons? It would also solve the first problem of @laalto. Usability for screenreaders improved, but usability for non-screenreaders is less now. A button is also the most semantically correct element imho, but I suppose opinions on that can be different :)
    – user247702
    Commented Aug 25, 2016 at 14:25
  • @Stijn "less now" how? what is less? is the problem simply that you need to click on the text now?
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 14:28
  • Before this change, couldn't you click anywhere in the grey area? If not, then disregard my comments.
    – user247702
    Commented Aug 25, 2016 at 14:29
  • @Stijn yes, but ... I'm not sure that's necessarily a desirable feature - more an accident of how it was implemented. We can probably make it work again if this is somehow a blocker...
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 14:31
  • @MarcGravell It's OK, it's just a small detail. No need to spend too much time on it :)
    – user247702
    Commented Aug 25, 2016 at 14:32
  • 4
    @Stijn that said: we do have a "hand" icon on the entire div, so it probably should be restored to full clickability... sigh
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 14:32
  • I agree. If there's a "hand" icon on the entire div, the click function should be applied on the entire div.
    – Murilo
    Commented Aug 25, 2016 at 14:54
  • @Murilo deploying fix now
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 15:20
  • 1
    @SotiriosDelimanolis that's the same thing we've been discussing for the last 10-ish comments; should be fixed right now
    – Marc Gravell Mod
    Commented Aug 25, 2016 at 15:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .