-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FMS] Accessibility improvements #4312
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4312 +/- ##
===========================================
- Coverage 83.14% 71.98% -11.16%
===========================================
Files 358 41 -317
Lines 26597 4576 -22021
Branches 4133 0 -4133
===========================================
- Hits 22113 3294 -18819
+ Misses 3239 1282 -1957
+ Partials 1245 0 -1245 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good - hopefully my comments all make sense, let me know if not!
0bdd09d
to
ef96303
Compare
Thanks for the feedback @dracos =). I implemented everything stated above. How you prefer me to rebase this? All the commits that are related into one? One extra thing I noticed was the Button for the Dropzone on Fixamingata. It wasn't accessible enough so I changed the color for the button to black: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment to remove h2.static
is all, plus there's a map file committed by mistake.
Would be great if, in general, fixes on a PR could be committed as extra 'fixup' commits applying to the commits they are fixing, which makes it much easier to then re-review the changes - let me know if you'd like more information on that :)
In terms of squashing - yes, I would put all the updates heading in one commit, all the around page ones in one commit, the rest all make sense as separate commits, I think?
Thanks @dracos I'll do the rebase squashing related commits. I'll include a fixup getting rid of the |
7e526f9
to
aeee4e6
Compare
@dracos I just pushed a --fixup getting read of the h2.static element. Let me know if you are happy with the changes and I'll rebase =) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The map file is still there needs removing as part of the rebase as well. Once you've tidied it up, let me have a final look before merging, thanks :)
aeee4e6
to
ea110e2
Compare
I tried splitting the commits so I can drop them as needed.
Heading hierarchy
Fixes: https:/mysociety/societyworks/issues/3428
As we spoke, the repeating H1 where not issue, because only only is visible.
Related commits:
Around Page
Related, but more UI related. I got rid of the yellow chevron background on this commit:
[FMS] Erased odd chevron bakground click-the-map element
Report page
Greenwich Improvements to navbar.
The mobile navbar was overlapping the desktop one. Leaving a very small clickable area.
Close mobile icon was white, therefore invisible.
Mixin button-variant
Fixes: https:/mysociety/societyworks/issues/3333
This one separate the focus state with the hover effect. Because all cobrands will be using the default mixing yellow, we could have some cobrands complaining about their styleguide, but I still thinks this is more accessible of what we currently have.
[FMS] Added focus state to button-variant mixin
This one adds an outline to the focus state in case we wanted to make it more obvious. But we can drop it if you think is too much.
[FMS] Added Outline property to button-variant mixin
Focus state for local images
Fixes: https:/mysociety/societyworks/issues/3298
[FMS] Added focus state to local alert images page
I hope it's easy to understand, but let me know if you need me to clarify anything.