Skip to content

[OUDS] [Boosted] Missing aria-pressed="false" at toggle buttons initialization #3509

@hannahiss

Description

@hannahiss

Prerequisites

Describe the issue

As indicated in aria-pressed documentation and in the aria toggle button pattern documentation, a toggle button should always have an aria-pressed attribute indicating its toggle nature, even when the value is false (because default value is indeterminate and not false).

In our doc, coming from Bootstrap, at the initialization, aria-pressed="false" is never set.

It should be added, in particular in OUDS "chips" component.

To see for a Boosted fix, and to report to Bootstrap.

Reduced test cases

Vocalization of a show password button without aria-pressed: "Show password bouton"

Vocalization of a show password button with aria-pressed="false": "Show password bouton bascule non enfoncé"

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Boosted are you using?

OUDS v1.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions