Skip to content

Conversation

Paul-Hebert
Copy link
Contributor

@Paul-Hebert Paul-Hebert commented Sep 9, 2021

Overview

Recently @gerardo-rodriguez pointed out:

While testing a PR with VoiceOver, I noticed that the rotor lists all comments as "article". It seems we might be able to enhance the experience by adding accessible names to the

elements? (e.g. aria-labelledby)

article

This PR adds aria-labelledby to link the existing comment headings to the comment article.

You're gonna wanna hide whitespace changes while reviewing. There was an indentation issue in the file that was fixed as well.

Screenshots

comment names

Testing

  1. Review /?path=/story/components-comment--with-reply-thread on the preview deploy in VoiceOver. Check the rotor and note the articles have accessible names.

@Paul-Hebert Paul-Hebert requested a review from a team September 9, 2021 19:19
@changeset-bot
Copy link

changeset-bot bot commented Sep 9, 2021

🦋 Changeset detected

Latest commit: ce199d0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudfour/patterns Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Sep 9, 2021

✔️ Deploy Preview for cloudfour-patterns ready!

🔨 Explore the source changes: ce199d0

🔍 Inspect the deploy log: https://app.netlify.com/sites/cloudfour-patterns/deploys/613a5e5c4259af000784a178

😎 Browse the preview: https://deploy-preview-1530--cloudfour-patterns.netlify.app

Copy link
Member

@gerardo-rodriguez gerardo-rodriguez left a comment

Choose a reason for hiding this comment

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

🎉

@Paul-Hebert Paul-Hebert merged commit 6c444f9 into v-next Sep 9, 2021
@Paul-Hebert Paul-Hebert deleted the add-article-names branch September 9, 2021 19:27
@github-actions github-actions bot mentioned this pull request Sep 9, 2021
gerardo-rodriguez added a commit that referenced this pull request Sep 13, 2021
…into feature/button-swap

* 'v-next' of github.com:cloudfour/cloudfour.com-patterns:
  Update storybook monorepo to v6.3.8
  Update babel monorepo
  Incease whitespace for the ground nav component (#1533)
  Responsive fallback (#1529)
  Use aria-labelledby to add accessible names to articles (#1530)

# Conflicts:
#	package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants