Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility - unable to navigate and shift focus on to a specific page level element #1752

Closed
ryanlynch717 opened this issue Aug 21, 2017 · 4 comments

Comments

@ryanlynch717
Copy link

#1726 - Backbone.history.navigate and Adapt.trigger('router:navigateTo') does not allow us to scroll to and set foucs on any page level element; article, block or component.

If that is the intention, the call to focusInitial should probably take an optional parameter of the selector so that a11y_focus can be called on it. See the call to focusInitial here

The Adapt.scrollTo function [here] does something similar.
(https://github.com/adaptlearning/adapt_framework/blob/master/src/core/js/adapt.js#L128-L129)

@danielstorey
Copy link
Member

Does Adapt.navigateToElement accomplish the above as it automatically calls .scrollTo after navigation

@oliverfoster
Copy link
Member

is this an issue that still needs solving?

@oliverfoster
Copy link
Member

note: Adapt.trigger('router:navigateTo') is now marked as deprecated

@oliverfoster
Copy link
Member

resolved

@moloko moloko added this to the Accessibility v4 milestone Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants