Closed Bug 1761842 Opened 2 years ago Closed 2 years ago

"Download Firefox Focus" link button isn't keyboard accessible on MacOS or Windows

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

VERIFIED FIXED
101 Branch
Iteration:
101.1 - April 4 - April 15
Tracking Status
firefox100 --- verified
firefox101 --- verified

People

(Reporter: emcminn, Assigned: emcminn)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently, tabbing through elements on the Private Browsing landing page skips the "Download Firefox Focus" button; jumping from the "close" button of the focus promo to the "learn more" info section link.

The button accessible on Mac when VoiceOver is active; but can't be found via the keyboard on Windows even though it is read out by NVDA. Adding tabindex="0" to the <a> element of the button should fix this.

Assignee: nobody → emcminn

Opted to fix this by changing the <a> element to a <button>. Since the control now opens the modal instead of linking out to another page, this makes sense semantically and also fixes the a11y issue.

Severity: -- → S3
Iteration: --- → 101.1 - April 4 - April 15
Priority: -- → P1
Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3cac71e18571
Replace promo CTA link with a button for better a11y r=mviar
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Blocks: 1744293

Comment on attachment 9270282 [details]
Bug 1761842 - Replace promo CTA link with a button for better a11y

Beta/Release Uplift Approval Request

  • User impact if declined: A primary CTA on about:privatebrowsing will be inaccessible to users navigating with a keyboard.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Semantic change of an <a> element to a <button>. Overall function remains the same, no visual changes.
  • String changes made/needed: none
Attachment #9270282 - Flags: approval-mozilla-beta?

I‘ve verified this issue using the latest Firefox Nightly 101.0a1 (Build ID: 20220405212313) on Windows 10 x64, and macOS 11.6.

  • The “Download Firefox Focus” button from the Firefox Focus promo can be accessed using keyboard navigation.
Status: RESOLVED → VERIFIED

Comment on attachment 9270282 [details]
Bug 1761842 - Replace promo CTA link with a button for better a11y

Approved for 100.0b3

Attachment #9270282 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

This issue was part of the work done on QA-1420 for which we sent a Preliminary checkpoint. Considering this I am marking it as Verified.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: