Closed Bug 1653315 Opened 4 years ago Closed 4 years ago

Convert about:welcome theme buttons to accessible radio buttons

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
81 Branch
Iteration:
81.1 - July 27 - Aug 09
Tracking Status
firefox80 --- verified
firefox81 --- verified

People

(Reporter: emcminn, Assigned: emcminn)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

As per @marcoz's accessibility review, we should convert the theme page's buttons to hidden radio buttons, which shouldn't change the visuals/function of the page, but will make the theme options more accessible.

suggestions at the link below:

https://www.sarasoueidan.com/blog/inclusively-hiding-and-styling-checkboxes-and-radio-buttons/

Type: task → enhancement
Iteration: --- → 80.2 - July 13 - July 26
Priority: -- → P1
Attachment #9166001 - Attachment is obsolete: true
Iteration: 80.2 - July 13 - July 26 → 81.1 - July 27 - Aug 09
Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1b5b325e7ff4
Convert theme buttons to radio buttons r=MarcoZ
Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aafd087ec6ad
Convert theme buttons to radio buttons r=pdahiya,MarcoZ
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

Comment on attachment 9164157 [details]
Bug 1653315 - Convert theme buttons to radio buttons

Beta/Release Uplift Approval Request

  • User impact if declined: Theme buttons in the about:welcome theme page will not be accessible to users using a screen reader, or keyboard access.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: - Open a new profile in Nightly, and navigate to about:welcome
  • Navigate through the welcome screens to the "Choose A Look" screen
  • The "Theme" buttons should be grouped together when accessed by keyboard (tab and then arrow keys), and show as `input type="radio" in the inspector.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): HTML/CSS change only, to improve accessibility - no change to function.
  • String changes made/needed: none
Flags: needinfo?(emcminn)
Attachment #9164157 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]
Attached image about_welcome_00.gif

Verified the issue using Firefox 81.0a1 (20200729213824) on Windows 10x64, macOS 10.12 and Ubuntu 18.04. The buttons are displayed grouped when using TAB key and can be selected as one when using arrow keys. Also input class="sr-only input" type="radio" are shown in the inspector.

Unfortunately, I see a slight moving of the Selected Theme/ Save Theme/ Not now buttons when using TAB key on grouped theme buttons.
Also, after changing selections on themes there is also a slight movement on each selection clicked. Please see the attached screen recording made on Windows 10x64. Should I file a new bug for this or this is expected? Thank you!

Flags: needinfo?(emcminn)

(In reply to Alexandru Trif, QA [:atrif] from comment #8)

Created attachment 9166993 [details]
about_welcome_00.gif

Verified the issue using Firefox 81.0a1 (20200729213824) on Windows 10x64, macOS 10.12 and Ubuntu 18.04. The buttons are displayed grouped when using TAB key and can be selected as one when using arrow keys. Also input class="sr-only input" type="radio" are shown in the inspector.

Unfortunately, I see a slight moving of the Selected Theme/ Save Theme/ Not now buttons when using TAB key on grouped theme buttons.
Also, after changing selections on themes there is also a slight movement on each selection clicked. Please see the attached screen recording made on Windows 10x64. Should I file a new bug for this or this is expected? Thank you!

Hi Alexandru, thanks! I see the movement you mean - I don't think this is expected, but I'm not sure what might be causing it. If you wouldn't mind filing a new bug for it, then we'll investigate :)

Flags: needinfo?(emcminn)

(In reply to Emily McMinn :emcminn from comment #9)

Hi Alexandru, thanks! I see the movement you mean - I don't think this is expected, but I'm not sure what might be causing it. If you wouldn't mind filing a new bug for it, then we'll investigate :)

Thank you! I opened bug 1656267. The issue is verified fixed with Firefox 81.0a1 (20200729213824) from comment 8 and comment 9.

Comment on attachment 9164157 [details]
Bug 1653315 - Convert theme buttons to radio buttons

approved for 80.0b2

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

Verified the issue using Firefox 80.0b2 on Windows 10x64, macOS 10.12 and Ubuntu 18.04. The behavior respects the results from comment 8 and comment 7.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: