footnotes icon indicating copy to clipboard operation
footnotes copied to clipboard

Accessibility Recommendations

Open jpobojewski opened this issue 2 years ago • 1 comments

What are you trying to do?

Screenshot 2023-08-14 at 2 30 54 PM

When in use on a client website, accessibility audits are flagging the interactivity of the footnote <sup> elements.

What's your proposed solution?

The audit tool is requesting either using an alternative markup or making them more accessible to screen readers via a tabindex attribute. Is this possible to add?

Additional context

No response

jpobojewski avatar Aug 14 '23 19:08 jpobojewski

On its own, a <sup> isn't interactive. If you were to enable outputting of anchor links, these are accessible through keyboard navigation. My primary concern is that the default HTML Purified config will actually strip the attribute out.

Nevertheless, I've updated this for the next release. To get this early, run composer require verbb/footnotes:"dev-craft-4 as 4.0.1".

engram-design avatar Aug 16 '23 06:08 engram-design