ScottLogic / blog

The Scott Logic blog
http://blog.scottlogic.com
Other
9 stars 85 forks source link

Clapper is inaccessible without mouse #225

Closed chriswilty closed 1 week ago

chriswilty commented 3 months ago

The clapper is a custom element (https://github.com/ColinEberhardt/applause-button) which is only accessible to mouse users. We can do better than this!

We should either a. Improve the applause-button component itself, to be a native <button> with click handler, or b. Find an off-the-shelf clapper which is accessible, or c. Write our own simplified clapper, using a Floating Action Button, e.g. https://web.dev/articles/building/a-fab-component

chriswilty commented 1 month ago

I have addressed this in my fork, with help from @dogle-scottlogic: https://github.com/chriswilty/applause-button/compare/chore/update-dependencies...chriswilty:applause-button:feature/a11y