-
Notifications
You must be signed in to change notification settings - Fork 58
FORMS-18739: Visual heading text is not marked as heading #1574
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
base: dev
Are you sure you want to change the base?
Conversation
@@ -29,7 +29,7 @@ | |||
data-cmp-single-expansion="true" | |||
data-placeholder-text="${wcmmode.edit && 'Please drag Accordion item components here' @ i18n}"> | |||
|
|||
<div class="cmp-accordion__label-container"> | |||
<div class="cmp-accordion__label-container" role="heading" aria-level="2"> |
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.
aria-level 2, can't be there, as it could be inside another container
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.
removed aria-level
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.
remove aria-level
@@ -29,7 +29,7 @@ | |||
data-cmp-single-expansion="true" | |||
data-placeholder-text="${wcmmode.edit && 'Please drag Accordion item components here' @ i18n}"> | |||
|
|||
<div class="cmp-accordion__label-container"> | |||
<div class="cmp-accordion__label-container" role="heading"> |
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.
If you are adding the role="heading" attribute, you must also include the aria-level="1" to aria-level="6" attribute, depending on the appropriate heading level required. In this scenario, we should add aria-level="2".
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.
Hello @amit-mnnit ! @sakshi-arora1 told me to only add role="heading" because aria-level can't be predicted.
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.
please check comments
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: