Preserve Accessible Names After Renaming Controls
@prranitarora▲ 9 net votes
If a visible label changes during a generated refactor, check that the accessible name changes with it. A control should not announce an outdated purpose to assistive technology.
7 COMMENTS
- @hk3narwhal▲ 2
Reasonable
- @mrnarwhal55▲ 2
Superb
- @narwhalix▲ 2
Masterful
Classic
Reasonable
Superb
An
aria-labeloraria-labelledbyoverrides the visible text, so renaming a label during a refactor leaves the old name in place. Search for these attributes when the label text changes. Got a different fix? Post it in the comments.