-
Notifications
You must be signed in to change notification settings - Fork 147
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
USWDS-Site: Add character count accessibility tests page #2607
Conversation
- This creates visual separation from known issues alert
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.
@sarah-sch @finekatie @amycole501 @alex-hull
This is ready for your review. From my perspective, we'll only need review from one person in each discipline, but welcome everyone's feedback if more folks want to review.
I had a some open questions below. Can you take a look and let me know what you think?
Thanks for prepping these summaries in the spreadsheet! Building the page was much quicker and easier this time 😎.
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.
I approve. I did comment on the two spots where you tagged me and/or Sarah. I'm not approving yet because I don't know if you need more feedback from me, but will when you're ready!
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.
Took a look through your changes and made a few notes. Let me know if you need any more clarification on any comments made! @amyleadem
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.
@amyleadem - One important note: In several places, we are plugging in "character count accessibility tests" where it should read just "character count." (E.g., see the first three H2s on the page ... there are other places as well.) I'm assuming this just needs to be switched in one place that's getting plugged in throughout the page.
Leaving a few comments, too. I will bo OOO tomorrow, so if you are trying to publish before that I trust you and the team to address the feedback without me needing to review again.
…1y-tests-character-count
…/uswds-site into al-a11y-tests-character-count
@amycole501 @alex-hull @sarah-sch @finekatie This is ready for your re-review. Please let me know if you have any questions or comments. |
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 page reads well, I have one suggestion to add a success criteria check but can do that after the page is posted.
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.
Added changes look good
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.
Just noting that we are still repeating "character count accessibility tests" programmatically where we should be using something along the lines of "character count" of "character count component. Other than this issue, which I assume will be fixed programmatically, the pages look good.
@@ -2,6 +2,11 @@ title: Character count | |||
type: component | |||
changelogURL: | |||
items: | |||
- date: 2024-04-18 |
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.
Important
We should confirm the changelog dates before merge
@sarah-sch Thanks for flagging this. I updated the component name in b1bbca8. This should resolve the issue you are seeing. |
Looks great now, @amyleadem! |
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.
Component page and new page looks good. Small requests for indentation fixes.
Also questions on the use of snake case vs camel case, but this isn't a blocker for getting page published.
Co-authored-by: James Mejia <james.mejia@gsa.gov>
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.
Approving, but there seem to be new HTMLProofer errors.
For the Links > External check, the following failures were found:
* At ./_site/next/introduction/index.html:429:
External link https://www.pewresearch.org/politics/2020/09/14/americans-views-of-government-low-trust-but-some-positive-performance-ratings/ failed (status code 404)
* At ./_site/patterns/create-a-user-profile/race-and-ethnicity/index.html:3150:
External link https://www.pewresearch.org/fact-tank/2022/09/15/who-is-hispanic/ failed (status code 404)
HTML-Proofer found 2 failures!
Exited with code exit status 1
Thanks for flagging that error. Based on some quick googling, it looks like the site flagged in HTML-proofer should probably be live. The Pew Research center just tweeted a link to the now-broken site an hour ago. I'm guessing it is an unexpected outage. |
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.
PR and site looks great! Just two questions about potentially updating the process doc and checklist spreadsheet 👍
name: character count | ||
title: Character count accessibility tests | ||
category: Components | ||
lead: Any USWDS character count component should pass these manual accessibility tests. |
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.
I like the addition of "component here" as well. I went ahead and added it to the process doc for this section.
It looks like other accessibility test pages just say the component name here. Should we include this change in #2581 since all of the accessibility test pages are changed there?
ex:
lead: Any USWDS button should pass these manual accessibility tests. |
…1y-tests-character-count
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.
Updating changelog dates...
Merging over pa11y crash |
Summary
a11y-note.html
andtest-results-summary.html
. Before, the includes pulled thepage.component.name
, which at times is the component slug and includes dashes. Now, they pull the page title.a11y-note.html
. This changed the text "Test the character count in your own project." to "Test the character count component in your own project."Important
We need to confirm the changelog dates before merge.
Important
This PR is based off the changes from USWDS-Site - Accessibility tests: Rename accessibility.md files (#2581). We should wait to merge this until #2581 is merged into
main
.Resources
Related issue
Closes #2532
Preview link
Testing and review