-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix ARIA role of transcript when connection is pending #4420
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beyackle2
requested review from
a-b-r-o-w-n,
compulim,
cwhitten,
srinaath and
tdurnford
as code owners
September 20, 2022 21:19
tdurnford
reviewed
Sep 20, 2022
tdurnford
reviewed
Sep 20, 2022
compulim
reviewed
Sep 30, 2022
compulim
reviewed
Oct 13, 2022
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.
Need tests and this will be puuuuurfect. 😽
compulim
force-pushed
the
beyackle/ariaBusyRole
branch
from
October 28, 2022 03:56
00688c7
to
f00d20e
Compare
@beyackle2 Few things I changed:
Please let me know if it looks good to you. |
compulim
changed the title
fix ARIA role of transcript when connection is pending
Fix ARIA role of transcript when connection is pending
Oct 28, 2022
tdurnford
approved these changes
Nov 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog Entry
Fixed
<section role="feed">
only if there are one or more activities contained within, by @beyackle2 and @compulim, in PR #4420Description
The
<section role="feed">
should not be emptied and should have at least one<article>
orrole="article"
.When the chat is started, it is initially empty. We should not render
<section role="feed">
.Design
We tried
<section role="feed" aria-busy="true">
, however, Accessibility Insights still say the element is violating "WCAG 1.3.1: Ensures elements with an ARIA role that require child roles contain them".We have 2 options:
<section>
withoutrole
attribute, and setrole="feed"
when it has contents<section role="feed">
if it is emptyWe went on the second option as we worry the first one might cause issues in some screen readers.
Specific Changes
<section role="feed">
when it is emptyCHANGELOG.md
I have updated documentationReview Checklist
Browser and platform compatibilities reviewedCSS styles reviewed (minimal rules, noz-index
)Documents reviewed (docs, samples, live demo)Internationalization reviewed (strings, unit formatting)package.json
andpackage-lock.json
reviewedSecurity reviewed (no data URIs, check for nonce leak)