11

Not all keyboard-only users are blind. In light of this, one of the main things to focus on in keyboard accessibility is that you can tell when something has keyboard focus.

I've noticed at least three places where SE fails this.

First, in the answer sorting tabs - active, votes, and newest. If I tab to any of these buttons, there's no indication that the focus is there - I have to look at the bottom of the page to see that it's pointing to a link, and then based on the end of the URL see what button currently has focus to be able to change the sorting.

Another place is when you open the image uploader. You can open the uploader with CtrlG, and the focus automatically will go to "browse" (so when you press enter you'll be able to find your image and upload it), but you can't visually tell that that's where the focus is.

And the third example is deleting your own comment. I can tab to the delete button, but the button remains invisible and you can't see that the focus is there at all.

There are probably more examples, but these are the three that I noticed.

If you're confused as to why it's important that things be accessible without the mouse, please read up on keyboard accessibility. While I thankfully don't have any physical problems with using a mouse, I'm using my time with a broken mouse to give accessibility feedback so that people who need it can get a better site experience.

  • 1
    Your third example is fixed now. You were actually unable to focus the visual delete button and were instead focusing a zero-width button intended only for screen readers. The second appears to be an issue where "Browse" is a <label> for a hidden input and doesn't itself receive focus. In the first case, tabs should be getting a light grey focus highlight but maybe it's not strong enough. – Brian Nickel Jan 31 '19 at 22:36
  • Can you confirm if you're seeing the (slight) highlight on tabs? If it is too light, do you use any accessibility options related to contrast? Are you able to see the focus text fields or the "Ask Question" button? (Not trying to pry or justify the current design, just trying to get a better sense of things from your perspective.) – Brian Nickel Jan 31 '19 at 22:37
  • @BrianNickel - I don't see any highlight on those specific tabs. I just checked that it's the same without scripts. I see the highlight on AaQ, yes, and text fields. The highlight on the voting buttons is very hard for me to see, though (and so is the highlight on the link to the homepage in the header). I don't use anything to change contrast, no. – Mithical Jan 31 '19 at 22:44
  • 1
    Oh, I see where you're talking about. I misread since I have the other kind of tab on my mind. We should be able to apply a focus style to those tabs, especially since they already have a hover style. I'll ping the designers about both issues. – Brian Nickel Jan 31 '19 at 22:52

You must log in to answer this question.

Browse other questions tagged .