Repository navigation
Focus style a11y - #7680
Merged
Merged
Focus style a11y#7680
Conversation
missmatsuko
force-pushed
the
hotfix/focus-style-a11y
branch
from
April 1, 2021 18:49
33fe805 to
0c59d76
Compare
jQuery focus() triggers focus event, which will trigger the focus class on the password field, ensuring the focus style is visible as expected
missmatsuko
force-pushed
the
hotfix/focus-style-a11y
branch
from
April 1, 2021 18:49
0c59d76 to
4d17c01
Compare
Also makes radio styles more similar to checkbox styles. Removed containerAttributes for radio input because there weren't any attr blocks in the code base.
benface
reviewed
Apr 16, 2021
Comment on lines
+8
to
+10
| class: (class ?? [])|explodeClass|merge([ | ||
| 'radio' | ||
| ]|filter), |
Contributor
There was a problem hiding this comment.
Looks like there was a bad merge or something here; class appears twice in the hash.
Member
brandonkelly
added a commit
that referenced
this pull request
Apr 16, 2021
brandonkelly
added a commit
that referenced
this pull request
Apr 16, 2021
Closed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds visible focus style to interactive elements such as links, buttons, and inputs.
I removed containerAttributes from the radio template because I didn't think it was used (couldn't find any attr blocks in the code base).
Requires craftcms/sass#5 and npm package update.
Related issues
Closes #6886