Closed qbatten closed 1 year ago
Video of tabbing thru the homepage on the site that's live right now: https://user-images.githubusercontent.com/9345870/186574208-cd973dd8-c836-4861-bce9-d4152b3a4c25.mp4
Video of tabbing thru the homepage on the site after this PR: https://user-images.githubusercontent.com/9345870/186574094-2e6819e7-6039-4b95-b286-8b8338ce629e.mp4
This looks great @qbatten! Thanks for this pull request. @addiebarron or @dzygmundfelt, would you have a moment this week to review and approve this pull request?
This all looks great! My only question is about the tabindex
stuff. I looked into it a bit and it seems like elements which are natively focusable / interactive (a
, input
, textarea
e.g.) don't need any explicitly declared tabindex in order to be accessible (reference from the a11yproject). It sounds like we'd be alright just leaving those elements as is. Let me know what you think.
Ohh gotcha. That makes sense, I'll remove those.
Done! I double checked and yeah none of those were needed lol, I just misunderstood how tab-navigation/tabindex works.
any one know why this pull request is failing? the error brings up alot of general complaints about it being a github issue. @dzygmundfelt cleaned up our deployment process just now (pull request #73), that might help this
Looks like it's failing on the deploy
step due to a permissions issue, which has nothing to do with the changes in this MR. As long as @qbatten made the changes that @addiebarron was asking for, it's fine to merge in.
Did a few things here:
:focus
'ed elements. They use a light gray background, black font, and a black border. This results in higher contrast, the buttons/links standing out from the others without looking too out of place with the theme, and is also in keeping with normal expectations about what a focused element should look like. I'm absolutely not a graphic designer so totally open to changes to how they look.custom.css
file into a few different files (colors, fonts, etc). I kept "custom.css" as a sort of catch-all for other random bits of css that didn't fit into a clear category.!important
property from the colors (in colors.css).:focus
.When reviewing the PR, it may be helpful to look at the first commit first— that commit shows all the changes to custom.css before I split it out into different files, which is easier to parse/understand than the overall PR diff.