[Webkit-unassigned] [Bug 191748] New: AX: Only checked state announced when following links targeting checkboxes or radios

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 16 06:56:48 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=191748

            Bug ID: 191748
           Summary: AX: Only checked state announced when following links
                    targeting checkboxes or radios
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: oliver.byford at digital.cabinet-office.gov.uk
                CC: webkit-bug-importer at group.apple.com

Created attachment 355056

  --> https://bugs.webkit.org/attachment.cgi?id=355056&action=review

Reduced test case

Given the following markup:

  <a href="#checkboxes-1">Link to checkboxes</a><br>
  <a href="#radios-1">Link to radios</a><br>

  <br><br>

  <fieldset aria-describedby="checkboxes-description">
    <legend>Legend for checkboxes</legend>
    <span id="checkboxes-description">
      Description for checkboxes
    </span>

    <br>

    <input id="checkboxes-1" name="checkboxes" type="checkbox" value="one">
    <label for="checkboxes-1">
      One
    </label>

    <input id="checkboxes-2" name="checkboxes" type="checkbox" value="two">
    <label for="checkboxes-2">
      Two
    </label>
  </fieldset>

  <br><br>

  <fieldset aria-describedby="radios-description">
    <legend>Legend for radios</legend>
    <span id="radios-description">
      Description for radios
    </span>

    <br>

    <input id="radios-1" name="radios" type="radio" value="one">
    <label for="radios-1">
      One
    </label>

    <input id="radios-2" name="radios" type="radio" value="two">
    <label for="radios-2">
      Two
    </label>
  </fieldset>

Focus the link to each input type and activate it by double-tapping.


For the link to checkboxes:

Expected behaviour:

Voiceover should announce the same context that it announces when reaching the first checkbox in the fieldset by swiping in either direction through the document, including the label, field type, legend and any description:

"Legend for checkboxes, Description for checkboxes, Two, tickbox, unticked. Description for checkboxes. Double-tap to toggle setting."

(The description is repeated here, which is probably another bug...)

Actual behaviour:

Voiceover does not include the legend as part of the announcement, and only announces the ticked state:

"Unticked"


For the link to radios:

Voiceover should announce the same context that it announces when reaching the first checkbox in the fieldset by swiping in either direction through the document, including the label, field type, legend and any description:

"Legend for radios, Description for radios, Two, radio button, unticked. Two of two. Description for radios."

(Again, the description is repeated here)

Actual behaviour:

Voiceover does not include the legend as part of the announcement, and only announces the ticked state:

"Unticked"


Tested in iOS 12.1 (16B92) on an iPhone X (A1901)

This may be related to https://bugs.webkit.org/show_bug.cgi?id=191746.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181116/94c49e77/attachment-0001.html>


More information about the webkit-unassigned mailing list