Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11455] iOS: Accessibility: TableViewRow: Accessibility Value and Hint not spoken for TableViewRow, also Accessibility Hidden does not work

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-17T16:52:20.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21
ComponentsiOS
Labelsqe-ios100112, qe-nfc, qe-testadded
ReporterSatyam Sekhri
AssigneeMax Stepanov
Created2012-10-13T07:19:24.000+0000
Updated2013-10-03T11:06:00.000+0000

Description

Only Accessibility Label spoken for TableViewRow. The Accessibility Value and Hint are not voiced over. Also Accessibility Hidden does not work on TableViewRow Steps To Reproduce: 1. Open the application below with voice over ON 2. Touch the second row, Row2 3. Touch the fifth row, Row5 Actual Result: After Step 2: Only Accessibility label ("Second Option") is voiced over. The Accessibility Value and Hint are not voiced Over After Step 3: The AccessibilityHidden does not work as the Accessibility label ("Fifth Row") is voiced over.
var win = Ti.UI.createWindow({
    title : 'Welcome',
    backgroundColor: "#fff"
});
	var row1=Ti.UI.createTableViewRow({
			title:'Row 1',
			hasChild:true,
		});
		var row2=Ti.UI.createTableViewRow({
			title:'Row 2',
			hasCheck:true,
			accessibilityLabel: 'Second Option',
			accessibilityValue: 'Checked',
			accessibilityHint: 'The cheked sign on right'
		});
		var row3=Ti.UI.createTableViewRow({
			title:'Row 3',
			hasDetail:true,
			accessibilityValue: 'Row 3 Value',
			accessibilityLabel: 'Third Option',
			accessibilityHint: 'The Details icon on right'
		});
		var row4=Ti.UI.createTableViewRow({
			//title:'Row 4',
			backgroundImage : '/images/topRow.png',
			selectedBackgroundImage : '/images/topRowSelected.png',
			leftImage : "/images/imageA.png",
			accessibilityValue: 'Row 4 value',
			accessibilityLabel: 'Fourth Row',
			accessibilityHint: 'Row with images'
		});
		var row5=Ti.UI.createTableViewRow({
			title:'Row 5',
			accessibilityValue: 'Row 5 value',
			accessibilityLabel: 'Fifth Row',
			accessibilityHidden:true
		});
		var data = [row1,row2,row3,row4,row5];
		var table=Ti.UI.createTableView({data:data});
		
		win.add(table);
win.open();

Attachments

FileDateSize
images.zip2012-10-13T07:19:24.000+000010743

Comments

  1. Max Stepanov 2012-10-14

    PR submitted for adding accessibilityValue/Hint to table rows. https://github.com/appcelerator/titanium_mobile/pull/3224 Note, that table rows cannot be made hidden for accessibility by iOS platform.
  2. Max Stepanov 2012-10-14

    3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3227
  3. Satyam Sekhri 2012-11-07

    Accessibility Label, Value and Hint read aloud for tableviewrow. As mentioned, Accessibility Hidden does not work on iOS for tableview. Verified On: Titanium Studio: 3.0.0.201210301422 Titanium SDK:3.0.0.v20121105141612, 3.1.0.v20121106112514 iOS Device: iPhone4S (v5.1), iPad3 (v6.0)

JSON Source