react-magma
react-magma copied to clipboard
TreeView: wrong focus behavior with VoiceOver
Description of bug:
- On MacOS, VoiceOver doesn't move to the previous parent element
- Wrong movement/focus behavior
Steps to reproduce: Bug 1
- Open TreeView
- Turn on VoiceOver
- Open the parent element with child elements
- Move the focus to the child element
- Move the focus back to the parent element
- Note that the parent element is not announced (normal focus is on the parent element, VoiceOver's focus is on the child element)
Bug 2
- Open TreeView
- Open the parent element with two or more child elements
- Open the first child element with child elements
- Close it
- Try to move to the next parent element using the keyboard (press the
ArrowDownkey several times) - Note that the focus is locked in the same parent element