For now, the core SELECTABLE_TEXT state is only exposed on text containers, not on text leaves. We may want to reconsider this at some point. For now, just handle this case in the UIA code, since that's the only place it matters. Differential Revision: https://phabricator.services.mozilla.com/D239855