Skip to content

Conversation

mrego
Copy link
Member

@mrego mrego commented Sep 15, 2022

Fixes #1730.

Changes aria-errormessage to be an ID reference list

PR tracking

  • Related Core AAM PR:
  • Related AccName PR:
  • Related APG PR:
  • Any other dependent changes?

Implementation tracking

  • validator tests
  • WPT tests: LINK
  • Browser implementations (link to issue or when done, link to commit):
    • WebKit: Implemented
    • Gecko: Implemented
    • Blink: ISSUE
  • Does this need AT implementations?

Preview | Diff

@cyns
Copy link
Contributor

cyns commented Sep 16, 2022

In Core-AAM it already has multiple references for IA2 and ATK/ATSPI.
Windows UI uses ControllerFor, which takes an array of references, so that can work

AX API (Mac) uses a text property and may not be able to support this.
@cookiecrook can this get text from multiple elements? Property: AXValidationError: textual content of the referenced element

Copy link
Contributor

@cyns cyns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See also w3c/core-aam#138 to make core-aam align with this change

@jnurthen
Copy link
Member

@jcsteh can you please take a look at this.

@cookiecrook
Copy link
Contributor

cookiecrook commented Sep 29, 2022

AX API (Mac) uses a text property and may not be able to support this. @cookiecrook can this get text from multiple elements? Property: AXValidationError: textual content of the referenced element

Yes, WebKit could concatenate the text equivalents into the string for the API, or the API owners could consider a change.

@mrego