desmosinc / mathquill

Magic textboxes where you can type math as easily as writing!
mathquill.com
137 stars 42 forks source link

More mathspeak and ARIA clean-up #312

Closed sclower closed 1 month ago

sclower commented 1 month ago

First, adds the aria-hidden attribute to any focusable mQ's mathspeak region so that screen readers don't double-report the content, e.g. when the field is used as a table column header.

Second, empties the content of the math field's internal ARIA alert element when the field loses focus. Helps with the first problem above, but is something we should have been doing anyway.