Bug 164317

Summary: AX: VoiceOver exposes a button with role="link" in the rotor as *both* a link and a button
Product: WebKit Reporter: Peter <peterheery>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Major CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Test case html file none

Description Peter 2016-11-02 05:19:49 PDT
Created attachment 293654 [details]
Test case html file

Overview: VoiceOver exposes a button with role="link" in the rotor as *both* link and a button

- MacOS Sierra 10.12
- Safari technology preview 16 (Safari 10.1, WebKit 12603.1.10).

Webkit correctly exposes a button with role link as a link in the accessibility node inspector.
However VoiceOver exposes a button with role="link" in the rotor as *both* link and a button 

Steps to Reproduce:
1. Enable VoiceOver on Safari technology preview 16 (Safari 10.1, WebKit 12603.1.10).
2. Open attached test file
3. View rotor - observe.

Expected Results:
VoiceOver rotor only shows a button with role link the in links list.

Actual Results:
VoiceOver exposes a button with role="link" in the rotor as *both* link and a button
Comment 1 Radar WebKit Bug Importer 2016-11-02 05:20:08 PDT
<rdar://problem/29065226>
Comment 2 Radar WebKit Bug Importer 2016-11-02 05:21:59 PDT
<rdar://problem/29065246>