0

I've grid with several boxes in (<div>). Each box has inside a list with couple/ several links (simple ul li list with <a> elements). This link list is hidden, it shows only on hover.

It works really fine, but I have accessibility issue, namely, I can't get into any list element with "tab" key (box <div> works ok, it get focus, so the list is showing up), it is just skipping to next box element. I've tried with adding tabindex on each box and each list element inside, but it seems that this is not the solution.

Is there any CSS/ HTML solution for that? I can of course write simple JS, that will check where is focus and if focus has parent with focus option, but I would like to avoid it if possible.

kuba
  • 1,019
  • 1
  • 18
  • 39
  • 3
    I'm also a little puzzled by your comment about having a link that is hidden unless you hover. does that mean you need to use a mouse to see it? keyboard won't work? – slugolicious Apr 06 '16 at 19:04
  • You probably have the same problem with touch (on tablets, smartphones and… laptops and monitors with touch included) that you've with keyboad/focus and though it may be corrected with JS, I'd advise adding toggle buttons so user can toggle visibility whatever its interaction mode with your page – FelipeAls Apr 27 '16 at 10:44