Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aria-label for hover label #152

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add aria-label for hover label #152

wants to merge 2 commits into from

Conversation

nekevss
Copy link
Member

@nekevss nekevss commented Apr 23, 2024

This is related to #148. Added the aria-label property so that it should display the title on hover. Tested on Firefox and Brave 馃槃

@nekevss nekevss requested a review from a team April 23, 2024 00:53
@nekevss nekevss mentioned this pull request Apr 23, 2024
7 tasks
Copy link
Member

@HalidOdat HalidOdat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition!

@HalidOdat HalidOdat added the enhancement New feature or request label Apr 23, 2024
@HalidOdat HalidOdat requested a review from a team April 23, 2024 10:55
@jedel1043
Copy link
Member

Hmm, just wondering if this counts as misusing aria-label, since this is not using it for accessibility, but to implement a UX feature.

@nekevss
Copy link
Member Author

nekevss commented May 2, 2024

That was mostly the idea of adding the aria-label for hover was for the accessibility, and hopefully to make the test grid more accessibility friendly.

There's a couple other approaches that I can think of off the top of my head:

  1. Add a card component that disables on hover for the tests. I'm not entirely sure if that's any friendlier accessibility wise.
  2. Update the card header to include the test. I.e. Header: ArrayBuffer -> ArrayBuffer - name.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants