New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 672967 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug
Team-Accessibility



Sign in to add a comment

Modify Blink to indicate that the object that is next on line after a list marker is the item's text

Project Member Reported by nek...@chromium.org, Dec 9 2016

Issue description

We currently don't expose the ui::AX_ATTR_NEXT_ON_LINE_ID on a list marker. We should make it point to the first inline text box that comes after the list marker and that includes the first part of the list item's text.
This will enable Jaws to announce the list marker when navigating using cursor up/down inside a content editable. The reason is that when IAccessibleText::get_text with a line boundary is currently used,the list marker is not returned as part of the line's text.

 
Have you already started on this? I'm already working on a
more general change that will solve this, but if you've started
working please show me what you have.

Comment 2 by chaok@google.com, Dec 9 2016

From Joe @FS:
"I was just talking to a colligue about this issue. Regardless of how we do it, we have the issue of not including the non-editable marker in the offsets for Braille routing etc. We will need to know that we are in a list (perhaps an object attribute?) and how many characters to account for the list item at the beginning (another object attribute???) so that we can adjust the offsets for Braille routing and cursor tracking. Any time we have extra characters in the text which are non-navigable, we must somehow account for them so that the cursor blinks under the correct character. Whatever solution you come up with, will require work to ensure that the cursor is placed under the correct character when we output to Braille. Plese keep this in mind and let us know which route you take and how we can obtain the information necessary to keep cursor tracking correct.
For example, in a list item whose number is 100 folowed by a space before the main text of the line, the offset of the line really begins at 4 and the list item marker length is 4."

Comment 3 by nek...@chromium.org, Dec 10 2016

Cc: nek...@chromium.org
Owner: dmazz...@chromium.org
Status: Available (was: Started)
I was just going to implement a simple workaround in AXLayoutObject::nextOnLine that would return the ID of the first inline text box of the li element when the layout object was a list marker.
But if you are implementing something more comprehensive, I guess I shouldn't do that.

Labels: NewComponent-Accessibility-Blink NewComponent-Accessibility
Components: Blink>Accessibility
Components: -UI>Accessibility
Labels: -newcomponent-accessibility-blink -newcomponent-accessibility
Labels: triage-dominic
Labels: -Pri-3 Pri-2
Status: Assigned (was: Available)
Labels: -triage-dominic
Status: Fixed (was: Assigned)
This is currently implemented. next_on_line_id on a list marker points to the first inline text box that comes after it.

Sign in to add a comment