[A11Y] [Microsurveys] Consider increasing the "Submit" button contrast ratio from the Survey
Categories
(Fenix :: Experimentation and Telemetry, defect)
Tracking
(a11y-review:requested, Accessibility Severity:s4, firefox130 affected, firefox137 fixed)
People
(Reporter: ljanos, Assigned: rebecatudor273)
References
Details
(Keywords: access, Whiteboard: [fxdroid][group2])
Attachments
(2 files)
Steps to reproduce
- Have Google Accessibility Scanner installed.
- Activate the micvrosurvey feature from secret settings.
- Launch a microsurvey after using the print feature
- Use the Accessibility Scanner and scan the Survey.
Expected behavior
No suggestions are made.
Actual behavior
A "Consider increasing this item's text foreground to background contrast ratio" suggestion is made, referring to the Submit text on the button.
Device information
- Firefox version: Nightly 130.0a1
- Android device model: Samsung Z Fold 4
- Android OS version: Android 14
Reporter | ||
Updated•7 months ago
|
Comment 1•7 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Fenix::Experimentation and Telemetry' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Updated•7 months ago
|
Updated•7 months ago
|
Issue is related to the PrimaryButton
component colours originally added in https://bugzilla.mozilla.org/show_bug.cgi?id=1886243
Comment 3•7 months ago
|
||
It seems that the button is in the disabled state (per iOS, this would be until an option is selected by a user) - so technically the 4.5:1 or higher color contrast requirement does not apply here.
We still want the text to be legible for users, so they could estimate the button’s action whenever they make a selection above, but there it’s 2.79:1 which is close to 3:1 for non-text UI per WCAG, which again does not apply to disabled controls…
We could do better by making it 3:1 or higher in color contrast for the label text against its background, but I would mark it as access-S4
though, since it’s a delight question not compliance. AFAIK the Design systems team is also working on the updated set of colors that could be used to indicate the disabled state of the control, but this is still in progress.
Comment 4•7 months ago
|
||
I'm submitting a request for an a11y review of this issue as per Anna's recommendation.
Description:
- We are aiming to make the disabled buttons in Android more color accessible (at least a 3:1 ratio), while still maintaining a disabled look. The design systems team will provide color recommendations for the disabled button states.
How do we test this?
- Once implemented, the new buttons should be updated everywhere in the Android UI design system. Therefore you should be able to follow the "steps to reproduce" linked in this bug to open an example button.
When will this ship? Don't know as we don't know when the Acorn team will provide the final direction
Tracking bug/issue: Bug 1908937
Initial Design Explorations
Engineering lead: Tom White
Please describe the accessibility guidelines you considered and what steps you've taken to address them:
- Colour contrast 3:1 and above
- Maintaining a clear cognitive affordance that let's user know that the button is disabled
- The screen reader should announce the disabled state of the button
Describe any areas of concern to which you want the accessibility team to give special attention:
- Please help us strike a balance between color contrast accessibility but also clear communication that something isn't clickable.
Assignee | ||
Updated•4 days ago
|
Assignee | ||
Comment 5•4 days ago
|
||
Updated•2 days ago
|
Comment 7•1 day ago
|
||
bugherder |
Assignee | ||
Updated•1 day ago
|
Description
•