Closed Bug 1487048 Opened 6 years ago Closed 6 years ago

Tab key is not focusing in correct order in about:preferences#privacy

Categories

(Firefox :: Protections UI, defect, P3)

63 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 63
Tracking Status
firefox63 --- verified

People

(Reporter: david.olah, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

[Affected versions] 63.0a1 (2018-08-28) [Affected platforms] Windows 10, Windows 7, Ubuntu 16.04, Mac OS x [Steps to reproduce] 1. Open Firefox and in the Hamburger Menu, click on Content Blocking 2. about:preferences#privacy will be opened and Content Blocking section will be focused 7. Navigate using the Tab key [Expected result] The elements are focused in order from top to bottom [Actual result] Drop-down from "Trackers" is focused after "Change Block List..." link.
Please note that the first "Learn More" hyper-link (above the ON-OFF button) is skipped and will not get focused using the TAB key.
Blocks: privacy-ui
No longer blocks: 1484622
Summary: [Fastblock] Tab key is not focusing in correct order in about:preferences#privacy → Tab key is not focusing in correct order in about:preferences#privacy
After the update with the new UI in about:preferences#privacy, the text string beside the newly added check-boxes are not focused neither the secondary checkboxes which are not checked. Please check the attached video for the actual state.
Priority: -- → P3
I think the tab order issue is gone now, and the focus ring issue is all that's left.
See Also: → 1487455
Comment on attachment 9005480 [details] [diff] [review] Fix the focus highlights in the Content Blocking section of Preferences For consistency with other about:preferences controls, the focusring should be around the label rather than the checkbox. Drawing it around the checkbox would be an acceptable stop-gap solution, but I believe Johann already pointed out how to properly fix this in bug 1487453 comment 1.
Attachment #9005480 - Flags: review?(mconley) → review-
(In reply to Dão Gottwald [::dao] from comment #7) > Comment on attachment 9005480 [details] [diff] [review] > Fix the focus highlights in the Content Blocking section of Preferences > > For consistency with other about:preferences controls, the focusring should > be around the label rather than the checkbox. Drawing it around the checkbox > would be an acceptable stop-gap solution, but I believe Johann already > pointed out how to properly fix this in bug 1487453 comment 1. Can you please expand on how that would work? If I understand correctly, the src attribute would allow changing the image of the checkbox. There is a label attribute as well. But here there is another icon between the checkbox and the label, which is the reason why I was using a separate <label> element...
Flags: needinfo?(dao+bmo)
Nevermind, Johann helped on IRC. :-)
Flags: needinfo?(dao+bmo)
Note to self: Bryan also asked me to line up the indented rows with the icons, not the checkbox labels.
Comment on attachment 9005790 [details] Bug 1487048 - Use a <xul:checkbox> control to draw the icon and label of the checkboxes in the Content Blocking section; r=johannh,flod Francesco Lodolo [:flod] has approved the revision.
Attachment #9005790 - Flags: review+
Comment on attachment 9005790 [details] Bug 1487048 - Use a <xul:checkbox> control to draw the icon and label of the checkboxes in the Content Blocking section; r=johannh,flod Johann Hofmann [:johannh] has approved the revision.
Attachment #9005790 - Flags: review+
Blocks: 1487453
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/45710448c230 Use a <xul:checkbox> control to draw the icon and label of the checkboxes in the Content Blocking section; r=johannh,flod
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee: nobody → ehsan
Depends on: 1488436
See Also: → 1488011
Flags: qe-verify+
Comment 1 and Comment 2 is still reproducible. Should I create other Bug for these and close this as Verified or will be fixed in this particular one?
Flags: needinfo?(ehsan)
Please feel free, since I can't reproduce them.
Flags: needinfo?(ehsan)
I can reproduce both on Nightly 64.0a1 (2018-09-10), Windows 10 and Ubuntu 16.04. As you can see in the attachment, "learn more" below the Exceptions... is skipped, also the unselected radio buttons are skipped.
(In reply to David Olah from comment #21) > Created attachment 9008064 [details] > bandicam 2018-09-11 17-41-55-671.mp4 > > I can reproduce both on Nightly 64.0a1 (2018-09-10), Windows 10 and Ubuntu > 16.04. > As you can see in the attachment, "learn more" below the Exceptions... is > skipped, also the unselected radio buttons are skipped. I see... So here: * The first "learn more" link is actually before Exceptions in tab order not after, that's why it appears to be skipped in your video recording. But if you started tabbing from the search box, you would see very different results. So no real bug there IMO. * The other issues you've pointed out around unselected radio buttons being skipped are all to be expected. This is how radio buttons work in native applications in both Windows and Linux, and we imitate that behavior in Firefox. No real but there either IMO. If you disagree, you should feel free to open new bugs.
I verified the issue described in Comment 0 and it is no longer reproducible. Also, based on Comment 22, I am marking the issue as verified.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Depends on: 1492114
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: