Skip to content

fix(CChipInput): leave the disabled and readonly semantics to the input - #564

Merged
mrholek merged 2 commits into
mainfrom
fix/chip-input-role-less-aria
Sep 16, 2026
Merged

mrholek merged 2 commits into
mainfrom
fix/chip-input-role-less-aria

Conversation

@mrholek

@mrholek mrholek commented Sep 16, 2026

Copy link
Copy Markdown
Member

CChipInput stamped aria-disabled and aria-readonly on its container, a plain div with no role. Those states only mean something on a widget role, so assistive technology ignored them there, while the real disabled and readonly on the inner input already carry the state and are what gets announced.

The attributes are gone and the input keeps both states. The specs now assert the container is free of them and that the input carries the state instead.

The same change goes to the vanilla library in coreui/coreui#1197 and to the other framework editions.

The component stamped aria-disabled and aria-readonly on its container, a
plain div with no role. Those states only mean something on a widget role, so
assistive technology ignored them there; the real disabled and readonly on the
inner input already carry the state and are what gets announced.

The attributes are gone and the input keeps both states. The specs that asserted
them now assert they are absent.
…donly states

The accessibility page said the states are reflected without saying where. It
now names the native disabled and readonly on the inner input, which is what
assistive technology reads.
@mrholek
mrholek merged commit 7ea1517 into main Sep 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant