Excel with UIA: Silence redundant selected announcement for focused cells (#12840)
With UIA enabled for MS Excel, NVDA redundantly announces selected for every selected cell in Excel when it receives focus
Description of how this pull request fixes the issue:
In at least some versions of Excel, the selection pattern reports 0 selected items, even though the focused UIA element reports as selected. NVDA only silences the positive SELECTED state when one item is selected. Therefore, by discarding both the SELECTED and SELECTABLE states, we eliminate the redundant selection announcement.