match4everyone / match4everything

Other
7 stars 0 forks source link

[a11y] Prevent content from scrolling under navbar #193

Open bjrne opened 3 years ago

bjrne commented 3 years ago

When using Shift+Tab to reverse through form fields, it is possible to highlight a field that is not visible due to the overlapping navbar.

Baschdl commented 3 years ago

The expected behavior would be that the browser is scrolling further up such that the field is actually visible?

Are browsers (Firefox) able to do this? https://www.bmbf.de/ invested in keyboard accessibility (with own functions etc.) but even there, a Shift+Tab doesn't bring the (whole) content in view

bjrne commented 3 years ago

I don't have a solution in mind, I am not experienced in this topic. My first question would be why the content space has to extend to under the navbar in the first place. Doesn't this also means we have additional whitespace on top and that the scrollbars extend further than they have to?