-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dashboard: disallow clicking on buttons and links in Dashboard disabl…
…ed mode (#4292) * Disallow clicking on buttons and links in Dashboard disabled mode * Add disabled attr to all interactive elements instead of tabindex=-1 * Test and apply Antoine’s suggestions * Account for links, use aria-disabled and pointer-events * Rename disableAllFocusableElements --> disableInteractiveElements * Add role="button" just in case for the future
- Loading branch information
Showing
2 changed files
with
39 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters