Skip to content

Conversation

@aqandrew
Copy link
Contributor

@aqandrew aqandrew commented Dec 10, 2025

for #19974

The MUI tooltip inside PaginationNavButton was a controlled component. This + the stateful logic inside PaginationNavButtonCore meant that showDisabledMessage would never be set to true. I.e., the "You are already on the first page" tooltip if on the first page and the "You are already on the last page" tooltip if on the last page would never show up.

The PaginationNavButtons gets disabled if we're at either the first/last page, and disabled buttons can't receive focus, so there's no way to open the MUI tooltips with keyboard navigation.

Removing the MUI tooltip + related props from PaginationNavButton has no effect on my screen reader UX with macOS VoiceOver; it's entirely unchanged

@aqandrew aqandrew merged commit 36311e5 into main Dec 11, 2025
35 checks passed
@aqandrew aqandrew deleted the aqandrew/replace-mui-tooltip-paginationnavbutton branch December 11, 2025 18:43
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants