-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactors trln/local toggle for accessibility. Fixes TD-1403.
- Removes label element, not appropriate for buttons so WAVE flags as violation - Reduces CSS complexity by using flexbox & BS5 styles - Improves keyboard accessibility; focus ring now surrounds focused button - Makes the element look more like a connected toggle, esp. when vertically stacked - Removes unused cruft - Restyles so the present scope is gray and the scope you can toggle to looks like a link (was backward before)
- Loading branch information
Showing
8 changed files
with
118 additions
and
257 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
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
Oops, something went wrong.