Skip to content

Add explicit role to stacked layout message#3551

Merged
compulim merged 5 commits intomicrosoft:masterfrom
corinagum:3537
Oct 24, 2020
Merged

Add explicit role to stacked layout message#3551
compulim merged 5 commits intomicrosoft:masterfrom
corinagum:3537

Conversation

@corinagum
Copy link
Copy Markdown
Contributor

@corinagum corinagum commented Oct 20, 2020

Fixes #3537

Changelog Entry

Description

  • Accessibility Insights for Web showed messages as having no implicit/explicit role. This change adds explicit role="group" to messages.
  • Although WAI-ARIA indicates that role="group" can have a child role="listitem", Accessibility Insights files the pattern as an a11y bug.
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@corinagum corinagum marked this pull request as ready for review October 20, 2020 23:15
Comment thread packages/component/src/Activity/StackedLayout.js Outdated
Copy link
Copy Markdown
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

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

Please add test too.

Comment thread packages/component/src/Activity/StackedLayout.js Outdated
@corinagum corinagum dismissed compulim’s stale review October 21, 2020 22:34

Comments addressed

Comment thread packages/component/src/Activity/StackedLayout.js Outdated
@compulim compulim merged commit 0e3381d into microsoft:master Oct 24, 2020
@compulim compulim deleted the 3537 branch October 24, 2020 09:01
@compulim compulim mentioned this pull request Oct 29, 2020
48 tasks
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.

Accessibility issue : Ensure aria-roledescription is only used on elements with an implicit or explicit role

3 participants