Adapt_framework: Accessibility - unable to navigate and shift focus on to a specific page level element

Created on 21 Aug 2017  路  4Comments  路  Source: adaptlearning/adapt_framework

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)

bug accessibility

Most helpful comment

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

All 4 comments

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

is this an issue that still needs solving?

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

resolved

Was this page helpful?
0 / 5 - 0 ratings