GSA / oasis-plus

1 stars 0 forks source link

Accessibility testing #163

Open klohman opened 6 months ago

klohman commented 6 months ago

Before the new OASIS+ site goes live, we need to do some manual & automated testing, to ensure the new program site is accessible:

weiwang-gsa commented 6 months ago

AMP Manual Testing

1.Home page:

Image

Desc:

Find out what’s next

Note: This H2 contains text with a background color of #ffffff rgb(255, 255, 255) and foreground color of #ffffff rgb(255, 255, 255) that is 18 point in size or larger; or bold text that is 14 point in size or larger that has a luminosity contrast ratio of 1, which is below 3:1

Image

Below are the places that need correction: Image

2.About OASIS+

About OASIS+

Note This H1 creates an inappropriate jump in heading levels within the document heading hierarchy

Image

3.Top Menu :

when top menu is not clicked, run AMP, it will render Color contrast ratio issue, it looks like pointing to menu, but with further look, it seems generated automatically and not direct code managed by us. Note: I searched from our code in VSCode, can't find those with class ="item-tooltip">, but when I search the home page source code (rendered html), I found those hidden element below. Looks to me it is auto generated and not code we directly managed, but I am not sure if this is auto generated by astro or USWDS. @mark-meyer or @jfredrickson would you mind double checking this issue, and see if this issue can be addressed or ignored?

click expand for top menu, then run AMP. Below errors are identified: @mark-meyer would you mind taking a look as well since you are currently working on top menu?

Image Description Note This A is focusable and has an aria-hidden attribute set to true

Image

Image

Image

4.How OASIS+ compares to OASIS Legacy

Image

5.Obtain a Delegation of Procurement Authority

Image

Image

6. Sellers - Review solicitations

7. Contact

Image

WAVE tool manual testing:

All other pages passed excerpt for Home page:

Image

- Low color contrast ( Can be ignored, please see comment below for manual color ratio test results)

Image

Lighthouse manual testing:

-Heading level jump (Same as AMP) Image

-Heading level jumps. Image

weiwang-gsa commented 6 months ago

@rosamundtgov For DPA page, there are same" OASIS+ Interact Community" text linked to slightly different URL, which cause accessibility complaints , one is https://buy.gsa.gov/interact/community/196/activity-feed, another one is https://buy.gsa.gov/interact/community/196, can we sync both using same link, e.g. both use https://buy.gsa.gov/interact/community/196/activity-feed?

weiwang-gsa commented 6 months ago

For Home page color contracts issue (AMP & WAVE), for "Find out what’s next" section, actually we are using a dark background image, but these automated tool are checking against background color (white) vs foreground text color( also white), I did manual color contrast ratio test for the foreground text vs background image, the color contrast ratio is good and passed the accessibility requirement, please see screen shot below. So this color contrast ratio issue on home page can be ignored.

Image

jfredrickson5 commented 6 months ago

How about adding pa11y to do a bit of automated testing?

vickimcfadden commented 6 months ago

Seems like a good idea to me @jfredrickson5 , @mark-meyer @weiwang-gsa ☝ what do you think?

weiwang-gsa commented 6 months ago

@vickimcfadden yes, we will add the pa11y for automated testing, just let you know that pa11y can only catch obvious accessibility issue, it can't catch intense accessibility issues like AMP does though, manual testings are still needed.

rosamundtgov commented 6 months ago

@rosamundtgov For DPA page, there are same" OASIS+ Interact Community" text linked to slightly different URL, which cause accessibility complaints , one is https://buy.gsa.gov/interact/community/196/activity-feed, another one is https://buy.gsa.gov/interact/community/196, can we sync both using same link, e.g. both use https://buy.gsa.gov/interact/community/196/activity-feed?

Let's use https://buy.gsa.gov/interact/community/196 across the board. I'll make a note on another ticket to update this other places if needed.

weiwang-gsa commented 6 months ago

@vickimcfadden automated accessibility test pa11y is added to the project and code merged into main. @rosamundtgov the link update for "OASIS+ Interact Community" is completed and code also merged into main.

weiwang-gsa commented 6 months ago

Just confirmed with @klohman, the "OASIS+" as H1 header causing two H1 header on one page issue can be ignored for now until we get new OASIS+ logo to replace it.

@rosamundtgov, for Contact page, the page title currently set to "Contact", which is too short and AMP doesn't like it, is it possible we change both page title and h1 header to "Contact OASIS+" or something longer that you think more appropriate? I tagged you in the accessibility findings as well just in case you want to know what is the issue.

mark-meyer commented 6 months ago

For items under 3.Top Menu

klohman commented 6 months ago

Keyboard testing complete and no issues found.

klohman commented 6 months ago

Also reviewed with 200% zoom on Chrome and saw no issues. @brentryanjohnson If you want to take a quick look as well.

brentryanjohnson commented 6 months ago

I tested the main branch at 200%...I didn't noticed any specific problems, other than the side (in-page) nav gets cropped out of the viewport, which likely isn't a huge deal.

As an aside, I did notice the button link on this page is broken. I suspect that's probably a known issue. (Also, these icons are 💯!)

A list of key features with blue seal icons with a button at the bottom that reads Learn more about how oasis plus compares to oasis

klohman commented 6 months ago

@brentryanjohnson Thanks for the review. I added the broken link to #120

vickimcfadden commented 6 months ago

I think we have all of the issues identified in other cards and/or done. Moving this to done.