Skip to content

Fix hover to display links in tables for users with screen readers.#4025

Merged
ozh merged 4 commits intoYOURLS:masterfrom
lilmike:master
Dec 12, 2025
Merged

Fix hover to display links in tables for users with screen readers.#4025
ozh merged 4 commits intoYOURLS:masterfrom
lilmike:master

Conversation

@lilmike
Copy link
Copy Markdown
Contributor

@lilmike lilmike commented Dec 7, 2025

The details, delete, etc links in tables were hidden with display: none until hovered, which hid them from screen readers. Screen readers do not hover the columns with the links, however, so we need to hide them in a way that keeps them available for screen readers.

Please do tell me if any of the css is wrong, or if the web interface looks wrong visually -- I am also blind, so I don't know much about css and cannot tell if things look wrong.

@ozh
Copy link
Copy Markdown
Member

ozh commented Dec 7, 2025

EDIT : oops nope, after I refreshed cache :-P

It doesn't work : the icons are now either hidden or piled, but it's unusable as of now

Copy link
Copy Markdown
Member

@ozh ozh left a comment

Choose a reason for hiding this comment

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

Doesn't work as intented : icons hidden or piled up together

@lilmike
Copy link
Copy Markdown
Contributor Author

lilmike commented Dec 7, 2025 via email

@ozh
Copy link
Copy Markdown
Member

ozh commented Dec 7, 2025

They appear all stacked up since only 1 weird icon shows. Hovering doesn't not change anything

The details, delete, etc links in tables were hidden with display: none
until hovered, which hid them from screen readers. Screen readers do not
hover the columns with the links, however, so we need to hide them in a
way that keeps them available for screen readers.
@lilmike
Copy link
Copy Markdown
Contributor Author

lilmike commented Dec 7, 2025 via email

@lilmike lilmike requested a review from ozh December 9, 2025 14:38
@ozh
Copy link
Copy Markdown
Member

ozh commented Dec 10, 2025

Still doesn't work. Icons are invisible and shown on hover as intended, but the showing makes the table resize on the fly.

I'll come up with a solution.

@ozh
Copy link
Copy Markdown
Member

ozh commented Dec 10, 2025

@lilmike can you test this

Copy link
Copy Markdown
Member

@ozh ozh left a comment

Choose a reason for hiding this comment

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

See my solution

@lilmike
Copy link
Copy Markdown
Contributor Author

lilmike commented Dec 11, 2025

@ozh It does work just fine for my screen reader. Consider it good.

-Michael.

@lilmike lilmike requested a review from ozh December 11, 2025 14:44
@ozh ozh merged commit cfa6e92 into YOURLS:master Dec 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants