Skip to content

[ally.fix.pointerFocusChildren] workaround is not solving the browser's problem #103

@rodneyrehm

Description

@rodneyrehm

Concerning: ally.fix.pointerFocusChildren
User Agent: IE11
ally.js version: 1.1.0-beta.3


Steps to reproduce the problem

run the demo

What is the expected behavior?

the workaround works

What went wrong?

the workaround fails

Comments

As of 1.0.0 ally.js identifies elements with flexbox layout as focusable (to comply with the browser focus compatibility tables). That makes get/focus-target return the <span>. While that's correct from a global perspective, it's not what fix/pointer-focus-children expects and thus does not redirect focus to the parent element.

Also, maybe we should rename fix/pointer-focus-children to fix/focus-flexbox or something? But that would be a breaking change and demand a major version bump, according to semver. @marcysutton what do you think?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions