Skip to content

USWDS - Disabled styles: Phase out disabled classes #5116

@amyleadem

Description

@amyleadem

Wherever possible, we should remove reliance on any classes that were created specifically for disabled styles (Example: .usa-button--disabled). Instead of applying disabled styles to these classes, they should instead be applied to both the disabled and aria-disabled attributes.

Metadata

Metadata

Assignees

Labels

Affects: Accessibility 🟡Relates to the accessibility of our componentsAffects: Markup 🟡Suggestion would change the markup of a componentAffects: UsabilityRelates to the usability of our code or components

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions