Repository navigation
Maul Window 0.8.0
Text from outside the program made safe to slice, and screen readers on
the web: a composition's offsets always fit its text, monitor and
gamepad names keep their whole characters when cut, and the focus and
keys stay the window's while a screen reader works the program's ARIA
elements (mwin-0035).
Changed
- A composition's offsets fit its text (mwin-0034): the caret, the
selection and every segment lie on character boundaries within the
text, the selection in order and no segment empty. The core fits what
the platform's input method hands it, where it used to drop a
composition whose offsets lay outside its text and let an offset
inside a character through. A fuzz target checks the fitting. - On the web, the focus on an element in the accessibility host is the
window's and keys there reach the program (mwin-0035). A screen
reader in focus mode moves the focus to the program's ARIA elements,
and the window used to lose it and the program its keys. The page
keeps those keys' default actions, and a field there keeps its typed
text; a focus request leaves the focus there.
Fixed
- A monitor name longer than 64 bytes, or with ill-formed bytes, keeps
its whole characters before the cut or the fault; it used to arrive
empty when the cut split a character (X11, Wayland) or, on Windows,
whenever it did not fit. - Gamepad names likewise: a device's name cut inside a character by the
backend (evdev, the web) keeps its whole characters instead of
arriving empty.