Skip to content

applets/calculator: announce result over screen reader

While the interface of the calculator applet is largely screen-reader accessible, the input display cannot easily be read out. This somewhat defeats the main purpose of a calculator, which is to get the result of a calculation.

Instead, also announce the result after performing the calculation using Accessible.announce.


This is still not optimal, it would be nice to be able to revisit the result or copy it in whole or in part, similar for the inputs. But I think that's best left for after we have general keyboard navigation guidelines for applets. With this the applet is at least somewhat useful with a screen reader (and even when the label is accessible, we'd want the results announced anyway).

Merge request reports

Loading