AW: accessible name computation & changing button labels

Hello Adam,

We on Fabasoft Cloud (https://www.fabasoft.com) have resolved this problem by deleting and re-creating the complete attribute aria-label. At least NVDA in Focus Mode reads the change on the focus position immediately.

Ciao     Mario

Von: Adam Cooper <cooperad@bigpond.com>
Gesendet: Mittwoch, 14. Oktober 2020 08:59
An: 'W3C WAI ig' <w3c-wai-ig@w3.org>
Betreff: accessible name computation & changing button labels

Hi all … working on a project at the moment with buttons whose label changes when pressed .. can’t get a screen reader to announce the changed label in situ (i.e., when focus remains on the button).

Adding aria-live to the button or somewhere else on the screen just seems like an ugly hack from yesteryear and it causes unnecessary repetition.

Just wondering, first, what the accessible name computation algorithm says about this case or what the spec behaviour should  be, and, second, whether anyone has any tips on how to resolve this?

Cheers,
Adam

Received on Wednesday, 14 October 2020 09:32:26 UTC