RE: AccName Pull Request 13: Please review

+1


Bryan Garaventa
Accessibility Fellow
Level Access, Inc.
Bryan.Garaventa@LevelAccess.com
415.624.2709 (o)
www.LevelAccess.com

-----Original Message-----
From: Joanmarie Diggs <jdiggs@igalia.com> 
Sent: Tuesday, April 10, 2018 12:17 PM
To: ARIA Working Group <public-aria@w3.org>
Subject: AccName Pull Request 13: Please review

Hey all.

As part of the testing being done for AccName, we discovered that listbox was not being treated the same as combobox in step 2E. As a result, the expected name for the checkbox below is "Flash the screen times."

  <input type="checkbox" id="test" />
  <label for="test">Flash the screen
    <ul role="listbox" style="list-style-type: none;">
      <li role="option" aria-selected="true">1</li>
      <li role="option">2</li>
      <li role="option">3</li>
    </ul>
    times.
  </label>

But if the above listbox were placed inside of a combobox, then the result would be "Flash the screen 1 times." This is covered by step 2E of AccName which states:

    If the embedded control has role combobox, return the text
    alternative of the chosen option.

Do we really think that the results should be different in this case?
The impression I get from some recent discussions is "no they shouldn't." In which case we should treat listbox like combobox in step 2E. I've created a pull request to make that change here:
https://github.com/w3c/accname/pull/13


If you want to view the spec with the change, it can be found here:
https://rawgit.com/w3c/accname/issue-12/


The proposed language is:

    If the embedded control has role combobox or listbox, return the
    text alternative of the chosen option.

Feedback via list or github is appreciated because we won't have time at this week's meeting to discuss it.

Thanks in advance!
--joanie

Received on Tuesday, 10 April 2018 21:32:43 UTC