Closed Bug 1916229 Opened 1 year ago Closed 11 months ago

[a11y] Consider increasing the "Block audio only" text foreground to background contast ratio in Private browsing

Categories

(Firefox for Android :: Privacy, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
139 Branch
Accessibility Severity s2
Tracking Status
firefox137 --- wontfix
firefox138 --- wontfix
firefox139 --- verified

People

(Reporter: apetridean, Assigned: rebecatudor273)

References

Details

(Keywords: access, Whiteboard: [fxdroid])

Attachments

(3 files)

Steps to reproduce

  1. Have the Accessibility scanner installed and opened.
  2. In PM, navigate to a website (e.g. www.cnn.com)
  3. Tap on the lock icon and, then scan the page.
  4. Tap on the "Block audio and video" arrow.
  5. Using the Accessibility Scanner, scan the page.

Expected behavior

No suggestions are made.

Actual behavior

  1. Consider increasing this item's text foreground to background contrast ratio.
    Current: 4:36::1. Foreground: #AA70FF
    Suggested: 4:50:1 Background: #321C64

  2. After tapping the arrow : for "Allow audio and video" -Current: 4:07:1. Foreground: #AA70FF
    Suggested: 4:50:1 Background: #303030
    for "Block audio and video" -Current: 4:18::1. Foreground: #AA70FF
    Suggested: 4:50:1 Background: #2E2E2E
    for "Block audio only" -Current: 4:07::1. Foreground: #AA70FF
    Suggested: 4:50:1 Background: #303030

Device information

  • Firefox version: Firefox130.0b9
  • Android device model: Google Pixel 7 Pro (Android 14)

The Bugbug bot thinks this bug should belong to the 'Fenix::Privacy' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Privacy

Insufficient color contrast is an access-S2 issue that makes this part of the UI inaccessible for users with low vision, users with cognitive disabilities, users with dyslexia, with colorblindness, users with screen glare, etc.

We need to ensure that color contrast of the foreground against background of at least 4.5:1 in luminosity ratio is provided to comply with the minimum WCAG 2.x criterion, color contrast of 7:1 is recommended.

While in this case the color contrast is 4.18:1 which is getting close to the 4.5:1 threshold, it is still hard to read and it would still be flagged by all automatic testing tools, thus marking it as access-S2 nevertheless.

Accessibility Severity: --- → s2

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:Gela, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(gmalekpour)
Severity: S3 → S2
Flags: needinfo?(gmalekpour)
Whiteboard: [fxdroid]
Assignee: nobody → rebecatudor273

Previously it was used accentUsedOnDarkBackground which was using
for private mode accent_high_contrast_private_theme.

Pushed by rtudor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a6da449f7f1 [a11y]Increase contrast for quick settings spinner. r=android-reviewers,gmalekpour
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Flags: qe-verify+

Verified as fixed in Nightly 139.0a1 from 04/14 with Google Pixel 8 Pro (Android 15). There no recommendations related to background contrast ratio made anymore.

The patch landed in nightly and beta is affected.
:rebecatudor273, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox138 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(rebecatudor273)

:Gela looks like rebecatudor273 is out, can you confirm this will not be uplifted to 138?

Flags: needinfo?(gmalekpour)

I don't think we have any plans to uplift this to 138, I've updated the 138 status.

Flags: needinfo?(gmalekpour)

no convos just following up before RC week. Thank you!

Flags: needinfo?(rebecatudor273)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: