Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ngAria: tabIndex unnecessarily added to buttons & other interactive elements #11500

Closed
@marcysutton

Description

@marcysutton

As it is currently written, ngAria is a bit too generous about adding tabindex="0" to elements. It adds the attribute to any element with ngModel or ngClick without checking whether it should actually do that. This includes buttons, inputs and other elements that might not need it. Adding unnecessary tabindex contributes to code bloat and is generally a poor practice.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions