-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix: make "we are more than... green squares" slogan accessible #164
Conversation
✅ Deploy Preview for opensauced-landing ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@CBID2, here's my suggestion. TLDR, add one paragraph element around the current paragraphs. Change the current paragraphs to spans, and at the end add a span with the text green squares with the That should make this more accessible.
- <div className="flex pb-16 px-10 tablet:px-0 items-center justify-center largeTablet:pb-14">
- <div>
- <p className="text-textPrimary font-inter font-bold text-[2.375rem] leading-[3.625rem] largeTablet:text-5xl largeTablet:leading-[4.5rem]">
- We are
- </p>
- <p className="font-inter font-bold pl-16 tablet:pl-20 text-[3.25rem] leading-none largeTablet:text-8xl">
- <DecoratedText content="$orange-to-yellowmore" />
- </p>
- <p className="font-inter font-bold pl-32 tablet:pl-40 tracking-[-0.03em] text-[4.25rem] leading-none largeTablet:text-9xl">
- <DecoratedText content="$orange-to-yellowthan..." />
- </p>
- </div>
- </div>
- <div className="pb-16 largeTablet:pb-52">
- {isLargeTablet ? (
- <Image alt="Green Squares text" src={GreenSquares} />
- ) : (
- <Image alt="Green Squares text" src={GreenSquaresSmall} />
- )}
- </div>
+ <div className="flex pb-16 px-10 tablet:px-0 items-center justify-center largeTablet:pb-14">
+ <p>
+ <span className="block text-textPrimary font-inter font-bold text-[2.375rem] leading-[3.+ 625rem] largeTablet:text-5xl largeTablet:leading-[4.5rem]">
+ We are
+ </span>
+ <span className="block font-inter font-bold pl-16 tablet:pl-20 text-[3.25rem] leading-none + largeTablet:text-8xl">
+ <DecoratedText content="$orange-to-yellowmore" />
+ </span>
+ <span className="block font-inter font-bold pl-32 tablet:pl-40 tracking-[-0.03em] text-[4.+ 25rem] leading-none largeTablet:text-9xl">
+ <DecoratedText content="$orange-to-yellowthan..." />
+ </span>
+ <span className="sr-only">green squares</span>
+ </p>
+ </div>
+ <div className="pb-16 largeTablet:pb-52">
+ {isLargeTablet ? (
+ <Image alt="" src={GreenSquares} />
+ ) : (
+ <Image alt="" src={GreenSquaresSmall} />
+ )}
+ </div> |
@nickytonline and @bdougie, I made the necessary changes but for some reason I keep getting errors. So far, I tried adding a variable called |
@CBID2 can you share the error message? |
Here you go @BekahHW: https://app.netlify.com/sites/opensauced-landing/deploys/65594d6ee30cfc000802378c |
I'm going to go ahead and close this as it's been open since September 2023. Feel free to reopen if you plan to continue working on this. |
Hey @CBID2 if the build is failing, it's not ready for review. Please go the through the process of checking the build before requesting a review. |
Co-authored-by: Lora Rusinouskaya <[email protected]>
Co-authored-by: Lora Rusinouskaya <[email protected]>
Co-authored-by: Lora Rusinouskaya <[email protected]>
Hey @CBID2, As @BekahHW suggested here, you want to go through the details and check why the Netlify is failing. Whenever you get Netlify build failed, you want to:
That way, either maintainers or any other contributors can help you out if you get stuck. And by giving the information of the exact error, it will help everyone to help you faster. Hope this helps :) |
Co-authored-by: Lora Rusinouskaya <[email protected]>
Co-authored-by: Lora Rusinouskaya <[email protected]>
Co-authored-by: Lora Rusinouskaya <[email protected]>
Co-authored-by: Lora Rusinouskaya <[email protected]>
Co-authored-by: Lora Rusinouskaya <[email protected]>
Though this page this exist, it has been moved. Closing this for now, since it has way to catch up. |
Can I cherry pick the commits in a new PR for it @bdougie? |
That's fine |
Description
This PR adds
<span>
elements to the "We Are More Then Green Squares" image, making it easier for screen reader users to navigate the website.What type of PR is this? (check all applicable)
Related Tickets & Documents
Fixes #88
Mobile & Desktop Screenshots/Recordings
Note: The audio does not play due to technical difficulties
green.square.accessibility.test.mov
Added tests?
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?
Note to Reviewers
I used this tool to get the CSS.