New issue
Advanced search Search tips

Issue 868735 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Jul 31
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

[Orca] Many AtkState types not supported

Project Member Reported by joanmari...@gmail.com, Jul 29

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3505.0 Safari/537.36

Steps to reproduce the problem:
1. Launch Chrome/Chromium
  * export ACCESSIBILITY_ENABLED=1, and
  * launch with --force-renderer-accessibility

2. Launch Accerciser (an accessibility inspector for GNU/Linux)

3. View a document

4. Expand "Accessible" in Accerciser's Interface Viewer and examine the state set for each of the accessible objects corresponding with elements in the document

What is the expected behavior?
* Expandable elements would have STATE_EXPANDABLE

* Elements would have STATE_HORIZONTAL or STATE_VERTICAL to indicate their orientation

* Elements which are rendered would have STATE_VISIBLE

* Elements which are on screen would have STATE_SHOWING

* Elements which are multiselectable would have STATE_MULTISELECTABLE

* Elements which are required would have STATE_REQUIRED

* Link elements which are visited would have STATE_VISITED

* Input elements with an invalid state would have STATE_INVALID_ENTRY

* Input elements which are checkable (like a checkbox) would have STATE_CHECKABLE

* Elements which are busy (loading/repopulating) would have STATE_BUSY

* Elements representing a modal dialog would have STATE_MODAL

* Text inputs would have STATE_MULTI_LINE or STATE_SINGLE_LINE to reflect their type

* Inputs which support autocompletion would have STATE_SUPPORTS_AUTOCOMPLETION

* Interactive elements which are not "grayed out" would have STATE_SENSITIVE

What went wrong?
The expected behavior is not implemented.

Did this work before? N/A 

Chrome version: 70.0.3505.0  Channel: n/a
OS Version: 
Flash Version: 

Impact: Orca uses states as a key aspect of figuring out if and how to present elements to the user.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/23682b07dfe0e86863d8514a9182acc4a574556a

commit 23682b07dfe0e86863d8514a9182acc4a574556a
Author: Joanmarie Diggs <jdiggs@igalia.com>
Date: Mon Jul 30 21:53:58 2018

Add support for missing AtkState types

The missing states already exist in the platform-independent accessibility
code and are already used in the platform-specific accessibility code. They
just need to be exposed via ATK.

R=dmazzoni@chromium.org

Bug:  868735 
Test: AXPlatformNodeAuraLinuxTest.TestAtkObjectState
Change-Id: I098c5e53d4a1f5cf44331847ef5790c46e1d59d7
Reviewed-on: https://chromium-review.googlesource.com/1154358
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579183}
[modify] https://crrev.com/23682b07dfe0e86863d8514a9182acc4a574556a/AUTHORS
[modify] https://crrev.com/23682b07dfe0e86863d8514a9182acc4a574556a/content/test/data/accessibility/aria/dpub-roles-expected-auralinux.txt
[modify] https://crrev.com/23682b07dfe0e86863d8514a9182acc4a574556a/content/test/data/accessibility/aria/graphics-roles-expected-auralinux.txt
[modify] https://crrev.com/23682b07dfe0e86863d8514a9182acc4a574556a/content/test/data/accessibility/html/a-expected-auralinux.txt
[modify] https://crrev.com/23682b07dfe0e86863d8514a9182acc4a574556a/ui/accessibility/platform/ax_platform_node_auralinux.cc
[modify] https://crrev.com/23682b07dfe0e86863d8514a9182acc4a574556a/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc

Status: Fixed (was: Unconfirmed)
Marking as fixed, as per Joanie's request.

Sign in to add a comment