Allow application to customize spatial navigation rule

RESOLVED WONTFIX

Status

Firefox OS
General
RESOLVED WONTFIX
3 years ago
2 months ago

People

(Reporter: Evelyn Hung, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [red-tai] nice-to-have-2.2r, URL)

(Reporter)

Description

3 years ago
Most of the time, default spatial navigation rule is useful. However, in some cases, a web page or an app might want to customize the calculation result of spatial navigation, so the to-be-focused element may not just be the nearest one but also the most *intended* one, or even overwrite the result by application logic. 

We are looking for a way to allow web developer to control the logic partially and dynamically, so it's flexible to fit real cases for a better UX.
(Reporter)

Comment 1

3 years ago
It seems this proposal fits our needs: http://dev.w3.org/csswg/css-ui/#nav-dir

Since the 'auto' behavior is not defined in this spec, so it may vary from UA to UA. 
Our 'auto' implementation will be done in bug 1114536.

Yury and Egor, as app developers, do you think this proposal is good for your cases?
Flags: needinfo?(Yuri.Ershov)
Flags: needinfo?(Egor.Levichev)

Comment 2

3 years ago
Evelyn,
It's not clear how we could use this approach for applications, which update the UI dynamically (e.g. for Contacts, SMS, etc.)?
Flags: needinfo?(Yuri.Ershov)
(Reporter)

Comment 3

3 years ago
No UI changes, it affects the rule of calculating the next-focus element. It's based on bug 1114536, once it's done, you will need this bug for better controlling navigating logic to fulfill some special UX requirements.
(Reporter)

Updated

3 years ago
Flags: needinfo?(Egor.Levichev)
Whiteboard: [red-tai] → [red-tai] nice-to-have-2.2r

Comment 4

3 years ago
The capability of jumping to the intended "next" UI object instead of the automatically logical object is very helpful to help users avoid having to slog through headers or links that they really don't need to get to the content.

Comment 5

2 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.