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.