Closed Bug 1896862 Opened 1 year ago Closed 1 year ago

The Weather Widget is the last element being focused using the keyboard navigation

Categories

(Firefox :: New Tab Page, defect)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Accessibility Severity s3
Tracking Status
firefox129 --- fixed

People

(Reporter: avarro, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: access, Whiteboard: [hnt])

[Affected versions]:

  • Firefox build version: Firefox Beta 127.0b1, Build ID: 20240513155137

[Affected Platforms]:

  • Windows 11 x64
  • macOS Ventura 13.6.1
  • Linux Mint 21.1

[Prerequisites]:

  • Have an en-US Firefox build installed and opened.
  • Have a VPN solution connected to the US.
  • Have a stable internet connection to receive weather data.
  • Have the "browser.newtabpage.activity-stream.showWeather" and the "browser.newtabpage.activity-stream.system.showWeather" prefs set to true.

[Steps to reproduce]:

  1. Open a New Tab page.
  2. Focus on each element using the Tab key until the Weather widget is focused.
  3. Observe the behavior.

[Expected result]:

  • The Weather widget is focused after the Personalize New tab menu is focused using the keyboard navigation.

[Actual result]:

  • The Weather widget is the last element being focused on the New Tab page using the keyboard navigation.

[Notes]:

  • We believe that this behavior would be more appropriate since the Weather widget is displayed on top of the page and since this is a new feature it would be more useful for users to reach the Weather widget faster using the keyboard navigation.
Whiteboard: [hnt]

The HTML tags were used perfectly here and the role of the feature is communicated programmatically, as expected.

The programmatic and visual reading orders are not matching is an actual access-S3 issue: unconsidered focus order.

While asides technically could be included in the focus order at the end, the question here is why did we put this element in the visual reading order before the main content. There’s probably a reason, visual design included. If it’s secondary and we want users to get to it only at the end of the page, maybe we should place it visually there too (at the end).

General rule of thumb is for the UI and tab order to match - for the focus order to follow the reading order (visual reading order for the locale to be followed by the DOM order of elements), reading order should be the same both programmatically and visually. It would allow for an equitable experience for users with and without assistive technology. A use case would be a screen reader user with dyslexia who can visually follow the screen reader’s focus and can see the visual position of elements. For them it’s likely to be confusing trying to read content first skipping its part, then jumping back up from the bottom of the page.

I recommend to change the type of this ticket to bug. Let me know if I can be of assistance with resolving it.

Status: NEW → RESOLVED
Accessibility Severity: --- → s3
Closed: 1 year ago
Keywords: access
Resolution: --- → INVALID

Oops, didn’t mean to close it. Apologies for it

Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → NEW

Thanks a lot Anna for all the explanations! I'll change the type of this ticket to bug in this case.

Severity: -- → S3
Type: enhancement → defect

Solved during the fix for another work stream to resolve a CSS overlap issue.

Status: NEW → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.