Give the SEND TO AI switch an accessible name

Fixkamo-internal
Ya
2 Septemba 2026, 04:54 UTC
Mwandishi
Kamo
Ahadi ya
b91330e

The switch set its aria-label through `inputProps`, which MUI 7 drops on Switch without a warning — so the label never reached the DOM. The words SEND TO AI beside it are a sibling Typography rather than a label, so there was nothing to fall back on: a screen reader announced "checkbox, not checked" and no more. Of every control on this window it is the worst one to leave nameless, being the one that starts a session on a machine holding cluster credentials. `slotProps.input` carries it. The trap is specific to Switch, and was measured rather than assumed — Checkbox, Radio, TextField and InputBase all still honour `inputProps` on this version, so their uses elsewhere in the app are unaffected. Ten other Switches in the app do have this defect; they are left for a change that is about them.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei