The list of contacts contains items that are expandable or collapsable. However, since this is not a xul:tree widget but rather a list widget, an ARIA attribute needs to be provided to indicate to assistive technologies that an item is collapsed or expanded, and needs to be adjusted whenever the state changes.
1. On items such as "offline contacts", put the attribute aria-expanded and give it a value of "false" if the item is collapsed or "true" if it is expanded.
2. Whenever the state changes, like when pressing right arrow to expand or left arrow to collapse, change this attribute to the appropriate value.
This is enough to indicate to screen readers which state the list item is in.
Created attachment 631343 [details] [diff] [review]
Comment on attachment 631343 [details] [diff] [review]
[Approval Request Comment]
Accessibility improvement for the chat feature.