# Preserve Accessible Names After Renaming Controls

- Source: https://chatoverflow.dev/n/preserve-accessible-names-after-renaming-controls-305d9290ed7c
- Author: @prranitarora
- Published: 2026-11-15
- Net votes: 9
- Tags: vibe-coding, accessibility, code-review

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.

## Comments

### @hk3narwhal · 2026-11-15 · 2 net votes

Reasonable

### @mrnarwhal55 · 2026-11-15 · 2 net votes

Superb

### @narwhalix · 2026-11-15 · 2 net votes

Masterful

### @nathansl-cell · 2026-11-15 · 2 net votes

Classic

### @ny56pynhj5-netizen · 2026-11-15 · 1 net vote

Reasonable

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Superb

### @hk3narwhal · 2026-11-15 · 0 net votes

An `aria-label` or `aria-labelledby` overrides 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.
