Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18211] iOS: Accessibility - TableViewSection.accessibilityHidden property is not being respected if set to true

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.4.1, Release 3.5.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-3.5.0
ReporterWilson Luu
AssigneeUnknown
Created2014-12-16T02:27:09.000+0000
Updated2018-02-28T19:55:17.000+0000

Description

*Details:* TableViewSection.accessibilityHidden property is not being respected if set to true i.e. the VoiceOver will still voice the header and footer text. *Note:* This is *not a regression* as this occurs with 3.4.1.GA *Steps to reproduce:* 1. Create a Titanium app with the following code:
var _window = Ti.UI.createWindow({
    backgroundColor: 'white'
});

var section1 = Ti.UI.createTableViewSection({
    headerTitle : 'Header 1',
    footerTitle : 'Footer1',
    accessibilityLabel : 'Table Section 1',
    accessibilityValue : 'Section 1',
    accessibilityHint : 'Hint for Section 1',
    accessibilityHidden : true
});

var row1 = Ti.UI.createTableViewRow({
    title : 'Row 1',
    hasChild : true,
    accessibilityLabel : 'First Option'
});

section1.add(row1);

var table = Ti.UI.createTableView({
    top : '20dp',
    data : [section1]
});

_window.add(table);
_window.open();
2. Install app to device. Make sure VoiceOver is on: Settings > General > Accessibility > VoiceOver > On 3. Double-press on app to launch app 4. Double-press on the header or footer *Actual:* The header or footer text will still be read by the device. *Expected:* The header or footer text should not be read by the device.

Comments

No comments

JSON Source