Bug 254763

Summary: AX: VoiceOver does not read aria-current attribute along with role="menuitem"
Product: WebKit Reporter: Konain Mukadam <konainm>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Blocker CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: iOS 16   
Attachments:
Description Flags
Screenshot of the Safari with DOM inspector and VoiceOver speechviewer none

Description Konain Mukadam 2023-03-30 12:40:49 PDT
Created attachment 465689 [details]
Screenshot of the Safari with DOM inspector and VoiceOver speechviewer

Summary:
VoiceOver does not read aria-current attribute along with role="menuitem"

Steps to reproduce:
1. Start VoiceOver
2. Start Safari and navigate to https://www.w3.org/WAI/ARIA/apg/patterns/menubar/examples/menubar-navigation/
3. Head to the "Mythical University" navigation bar example using VoiceOver
4. Focus the "Home" menuitem which should be selected by default

Observed bhevaior:
VoiceOver completely ignores the aria-curren attribute along with the element with role="menuitem"

Expected behavior:
VoiceOver must support aria-current attribute on role="menuitem" as it is an allowed ARIA state on menuitem per ARIA 1.1 and ARIA 1.2 Draft

ARIA 1.1: https://www.w3.org/TR/wai-aria-1.1/#menuitem
ARIA 1.2 Draft: https://www.w3.org/TR/wai-aria-1.2/#menuitem

Screenshot: Attached
Comment 1 Radar WebKit Bug Importer 2023-03-30 12:41:39 PDT
<rdar://problem/107433816>