Skip to content

Comments

docs(cdk/a11y): remove incorrect auto-include claim for cdk-visually-hidden#32838

Open
yogeshwaran-c wants to merge 1 commit intoangular:mainfrom
yogeshwaran-c:docs/fix-visually-hidden-auto-include
Open

docs(cdk/a11y): remove incorrect auto-include claim for cdk-visually-hidden#32838
yogeshwaran-c wants to merge 1 commit intoangular:mainfrom
yogeshwaran-c:docs/fix-visually-hidden-auto-include

Conversation

@yogeshwaran-c
Copy link

What kind of change does this PR introduce?

Documentation fix.

What is the current behavior?

The CDK a11y docs state:

If you're using Angular Material, this class is included automatically
by Angular Material's theming system.

This is no longer true. The visually-hidden styles were removed from
Angular Material's core in #29812, so the .cdk-visually-hidden class
is no longer emitted automatically by Material's theming. Users must
explicitly include cdk.a11y-visually-hidden() in a global stylesheet.

Closes #30585

What is the new behavior?

Remove the incorrect auto-include claim. The docs now simply instruct
users to include the mixin in a global stylesheet, without suggesting
it might already be included.

@pullapprove pullapprove bot requested review from ok7sai and tjshiu February 23, 2026 21:11
@angular-robot angular-robot bot added area: docs Related to the documentation area: cdk/a11y labels Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cdk/a11y area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(COMPONENT): Angular 19: cdk-visually-hidden does not work automatically anymore

1 participant