Skip to content
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

SDSS-846: A11y | Updates to News Vertical Card component #220

Merged
merged 5 commits into from
Aug 30, 2023

Conversation

jenbreese
Copy link
Contributor

@jenbreese jenbreese commented Aug 29, 2023

READY FOR REVIEW

Summary

  • A11y updates to the vertical news card
  • fixed

Review By (Date)

  • 9/1

Criticality

  • Normal

Review Tasks

Setup tasks and/or behavior to test

  1. Check out this branch
  2. Navigate to a news page.
  3. Make sure it has Explore more cards at the bottom.
  4. Verify the image link has a tab-index=-1 and an aria-hidden=true
  5. Tab through the cards, notice it goes from the image to the headline to the date.

Front End Validation

  • Is the markup using the appropriate semantic tags and passes HTML validation?
  • Cross-browser testing has been performed?
  • Automated accessibility scans performed?
  • Manual accessibility tests performed?
  • Design is approved by @ user?

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided? eg (unit, behat, or codeception)

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

Affected Projects or Products

  • Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

- SDSS-846

Resources

@jenbreese jenbreese changed the title Sdss 846 vertical card SDSS-846: vertical card a11y updates Aug 29, 2023
@jenbreese jenbreese requested a review from joegl August 29, 2023 23:36
Copy link
Collaborator

@joegl joegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. I verified the steps to test except when I tab through "Explore More", I'm having two things happen that don't align:

  1. I do not tab to the date; only the headline and the image.
  2. I tab to the headline first and then the image. The steps say the order should be image, headline, date; mine is headline then image, no date.

I am using Chrome on Windows.

@jenbreese FWIW, I experienced the above in an Incognito/Private browser when not logged in. When I was logged in it appeared to tab in the order you specified.

@jenbreese
Copy link
Contributor Author

@joegl I'm sorry I forgot you are using a Windows machine. When I said tab I forgot it was a VoiceOver tab which is different. What happened when you tabbed is ok.

@joegl joegl changed the title SDSS-846: vertical card a11y updates SDSS-846: A11y | Updates to News Vertical Card component Aug 30, 2023
Copy link
Collaborator

@joegl joegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Jen!

@joegl joegl merged commit efecbfe into 2.x Aug 30, 2023
4 checks passed
@joegl joegl deleted the SDSS-846--vertical-card branch August 30, 2023 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants