Closed Bug 867229 Opened 11 years ago Closed 10 years ago

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

Categories

(www.mozilla.org :: Pages & Content, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: icaaq, Assigned: kohei)

References

()

Details

(Keywords: access)

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
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
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
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
Disabling JS on Firefox OS makes the phone shut down and go to sleep. ;)
Blocks: 948069
No longer blocks: 948069
Depends on: 963816
Bug 963816 is now fixed. Confirmed on the test server.
https://www-dev.allizom.org/en-US/privacy/firefox-os/
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.