Open GCHQ-Developer-530 opened 5 months ago
When running accessibility tests using accessibility insights and the storybook a11y add on, the same error occurs.
aria-hidden-focus - ensure aria-hidden components aren’t focusable.
This is because the see more/see less typography button is focusable and aria-hidden
Tell us the steps to reproduce the problem:
It shouldn't produce this accessibility error.
Why do we aria hide this link?
When fixed, uncomment the a11y tests in the ic-typography Cypress tests.
Can I fix this?
Summary of the bug
When running accessibility tests using accessibility insights and the storybook a11y add on, the same error occurs.
aria-hidden-focus - ensure aria-hidden components aren’t focusable.
This is because the see more/see less typography button is focusable and aria-hidden
🪜 How to reproduce
Tell us the steps to reproduce the problem:
🧐 Expected behaviour
It shouldn't produce this accessibility error.