-
Notifications
You must be signed in to change notification settings - Fork 63
Accessibility Add-On #1133
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
Accessibility Add-On #1133
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1133 +/- ##
=========================================
Coverage 80.75% 80.75%
Complexity 773 773
=========================================
Files 91 91
Lines 2110 2110
Branches 285 285
=========================================
Hits 1704 1704
Misses 252 252
Partials 154 154 ☔ View full report in Codecov by Sentry. |
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
| data-cmp-data-layer="${numberinput.data.json}" | ||
| min="${numberinput.minimum}" | ||
| disabled="${!numberinput.enabled}" | ||
| readonly="${numberinput.readOnly}" |
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.
Do we required this readOnly attribute in all components, as you've removed it in radiobutton.
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.
readonly attribute is not supported on radio buttons. Radio buttons allow users to select one option from a group of options. Making individual radio buttons readonly doesn't make sense because the purpose of radio buttons is to allow selection. Making them readonly will not serve the purpose.
72dff61 to
7d29e15
Compare
Lighthouse scores (mobile)
|
Lighthouse scores (desktop)
|
...in/content/jcr_root/apps/core/fd/components/form/radiobutton/v1/radiobutton/radiobutton.html
Outdated
Show resolved
Hide resolved
rismehta
left a comment
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 add test case in runtime spec of individual component which checks for these accessibility attributes which we have added
...main/content/jcr_root/apps/core/fd/components/af-commons/v1/fieldTemplates/errorMessage.html
Show resolved
Hide resolved
amit-mnnit
left a comment
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
b40976d to
6bc981d
Compare
Lighthouse scores (mobile)
|
Lighthouse scores (desktop)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
6bc981d to
be58214
Compare
be58214 to
03c57e1
Compare
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
03c57e1 to
6331c6a
Compare
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
| required="${telText.required}" | ||
| placeholder="${telText.placeHolder}" | ||
| autocomplete="${telText.autoComplete}" | ||
| aria-describedby="${telText.id}__errormessage ${telText.id}__longdescription ${telText.id}__shortdescription" |
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.
Have we done these changes in the headless component as well ?
rismehta
left a comment
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.
Can you please update the headless component as well with these changes ?
6331c6a to
ab92be0
Compare
Lighthouse scores (mobile)
|
Lighthouse scores (desktop)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: