JSConf JP

Delivering Baseline Quality to AI Chat with ariaNotify()

Sponsor LTTrack AJapanese

tobi (Kazuhiro Tobita)

In AI chat, the fact that responses stream in and states such as generating, complete, and failed are visible on screen. However, screen reader users may encounter situations where nothing is read aloud after they send a message, and even when they navigate to the response, they cannot tell whether it is generating or complete. Can we really call that usable? What knows when a response begins and ends, and where it fails, is the JavaScript that receives the stream and updates the screen. In this session, we’ll use ariaNotify(), which has become available in major browsers, to design “what to announce, when, and at what intensity, and what to deliberately leave unspoken.” Let’s think together about the baseline quality of AI features that we, as JavaScript developers, are uniquely able to deliver.