Closed iqbalgds closed 3 years ago
Steps to re-create
Make sure you have mobile view.
Click the grey banner Table of contents
Table of contents
Enter a search term.
search
Tab through the results.
When you reach the final result and press tab, it should go to the browsers URL window.
tab
However, the tab focus goes to the close TOC button - which is hidden behind then current DIV. So to the user it looks like the tab focus is lost.
close TOC
DIV
If you press tab again - then it does go to the browser URL.
Raised the following PR to fix this: https://github.com/alphagov/tech-docs-gem/pull/224
This has been released - closing issue.
Steps to re-create
Make sure you have mobile view.
Click the grey banner
Table of contents
Enter a
search
term.Tab through the results.
When you reach the final result and press
tab
, it should go to the browsers URL window.However, the tab focus goes to the
close TOC
button - which is hidden behind then currentDIV
. So to the user it looks like thetab
focus is lost.If you press
tab
again - then it does go to the browser URL.