Focus is not moved to visible/active content on firefox-os policy page

RESOLVED FIXED

Status

P3
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: icaaq, Assigned: kohei)

Tracking

({access})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
1. Press Cmd+N to open a new browser window, then type https://www-dev.allizom.org/en-US/privacy/policies/firefox-os/ in the address bar and press Enter
2. when using a keyboard tab your way down to the "privacy policy" link and press enter
3. tab some more and see that nothing happens, the focus is still in the #home section.

The focus should be moved to the visible/active area and the other content should be hidden for AT with eg. display:none or visibility:hidden;

One thought that crossed my mind is to use :target selectors instead, then you could link directly to a visible section (#privacy or #contact) https://www-dev.allizom.org/en-US/privacy/policies/firefox-os/#privacy 
Maybe worth checking up.

cc: espressive

Comment 1

5 years ago
Thanks, Isac! I've put this in the Pages and Content component and not linked it to the other implementation bug. The policy page for Firefox OS has some known issues, but we were rushed based on hitting a date from the legal team. 

Also, the primary audience for this page will be mobile and specifically from the Firefox OS device
Component: General → Pages & Content
Priority: -- → P3
(Assignee)

Comment 2

5 years ago
Also noticed that this page didn't work when JavaScript was disabled.
Keywords: access
(In reply to Kohei Yoshino [:kohei] from comment #2)
> Also noticed that this page didn't work when JavaScript was disabled.

I would normally totally agree with you here but, in scenario for which this page is targeted, I do not see us ever having to deal with JS not being enabled.

With that said, there is no reason we cannot have a separate bug specifically for this, and then look at possible ways to resolve this problem in future.
Assignee: nobody → sneethling
Assignee: sneethling → nobody
(Assignee)

Comment 4

5 years ago
I think we can solve the focus issue and the noscript issue at the same time. Taking.
Assignee: nobody → kohei.yoshino.bugs
Status: NEW → ASSIGNED

Comment 5

5 years ago
Disabling JS on Firefox OS makes the phone shut down and go to sleep. ;)
(Assignee)

Updated

5 years ago
Blocks: 948069
(Assignee)

Updated

5 years ago
No longer blocks: 948069
(Assignee)

Updated

5 years ago
Depends on: 963816
(Assignee)

Comment 6

4 years ago
Bug 963816 is now fixed. Confirmed on the test server.
https://www-dev.allizom.org/en-US/privacy/firefox-os/
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.