[Details List]: Accessibility MacOS Table properties are not defined correctly with VoiceOver app in Mac
Bug Report
- Package version(s): 5.70.0
- Browser and OS versions: Safari Version: 11.0.3 (12604.5.6.1.1) MacOS Sierra: 10.12.6
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? No
Requested priority: Accessibility
Products/sites affected: Details List
Describe the issue:
Using VoiceOver app on a Mac, with Safari, multiple table properties are not correct.
Actual behavior:
· Table dimensions are defined incorrectly. · User is unable to interact with the table using ‘Ctrl + Option + Shift + Up/Down arrow’. (in case of VoiceOver only). On pressing ‘Ctrl + Option + Shift + Down arrow’, VO announces as ‘In table No selection. 1 column, 5 rows row 0 of 5 selected’ · On pressing up/down arrow keys VoiceOve announces the entire row information.
Expected behavior:
· Table dimensions should be defined correctly. · User should be able to interact with the table using ‘Ctrl + Option + Shift + Up/Down arrow’. · On interacting with the table, user should be able to navigate to the individual data items using ‘Ctrl + Option + arrow keys’ and the data items should be read out with the associated column header and the appropriate row and column number.
The table dimensions should have been fixed via #5066. @caradong it's worth testing again.
I've verified that this still repros. In Edge and Chrome each row gets focus and the full contents are read out:

Whereas in Safari, focus falls on specific table cells (reading 'blank' in the case of an icon) and the keyboard shortcuts that Safari reads out don't work. Neither do the standard arrow keys. It's very difficult to navigate:

Hey @caradong thanks for opening this issue! @mikewheaton I just tested out VoiceOver in Safari on DetailsList, and I was able to successfully use Control + Option + Up/Down Arrow and just Up/Down arrows to navigate the list. VoiceOver in Safari does seem to focus on the first cell instead of the entire row, but I don't think that's a behavior that Fabric can fix.
Incorrect Table Dimensions Read Out
I also noticed a table dimension issue in VoiceOver in Safari that I didn't see in VoiceOver in Chrome (or any other screen reader + browser). It's reading out more columns than are actually in the DetailsList on the demo page.
When navigating to the checkbox on the Compact DetailsList demo page, it reads out the incorrect number of columns (it should be 3): Toggle selection, unchecked, checkbox, table 4 columns, ...
I tried rendering this exact DetailsList in a CodePen, and the number of columns (3) is read out correctly for some reason. Toggle selection, unchecked, checkbox, table 3 columns, ...
I think that, for some reason, on the demo page VoiceOver in Safari is grouping an element above the DetailsList with the columns. It seems to do this for other DetailsList examples with elements above them as well.
The number of columns, however, is correctly set on the element with role="grid".

So, my theory is that there's something on the demo page that's causing the VoiceOver in Safari to think there are more columns than there actually are, but I'm not sure what it is. @mikewheaton what do you think? Do you have any ideas as to what could be causing this?
Seems to be an issue with demo page? If this is working in production can we close the issue and create a new one to capture docs work?
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!