Bug 134285

Summary: AX: iOS VO announces incorrect number of tabs for accordion widgets marked with role="tab"
Product: WebKit Reporter: mpiotrowicz <monika.piotrowicz>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jcraig, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 7.0   

Description mpiotrowicz 2014-06-24 18:13:28 PDT
In all examples tested, iOS announces n+1 tabs for accordion widgets marked with role="tab". Suggest that this is a bug as the role="tab" is the suggested approach for accordion widgets. The following examples all show the same behavior on iOS VO but work correctly elsewhere (including VO on desktop Safari)

Steps to Reproduce:
1. Visit any of the following links with VO turned on in iOS Safari and navigate to accordion widget

http://www.oaa-accessibility.org/examplep/accordian1/ (example link from W3C best practices http://www.w3.org/TR/wai-aria-practices/#accordion)
http://jqueryui.com/accordion/
http://assets.cms.gov/resources/framework/2.0/Pages/accordion.html

Actual Results
VO announces "tab 1 of n+1" with n the number of visible tabs marked up in the accordion

Expected Result
VO announces "tab 1 of n" with n the number of visible tabs marked up in the accordion
Comment 1 Radar WebKit Bug Importer 2014-06-24 18:15:01 PDT
<rdar://problem/17445492>
Comment 2 James Craig 2015-04-09 09:00:01 PDT
Resolved in 8.3. Thanks Monika.