From 7c631d74fd6c4eb7aef478107da60624f46ca150 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 2 Mar 2023 11:24:15 -0800 Subject: [PATCH] Correct WAI-ARIA integration for custom elements This requires corresponding changes in https://w3c.github.io/core-aam/ as discussed in https://github.com/w3c/core-aam/issues/152. --- source | 80 +++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 31 deletions(-) diff --git a/source b/source index 46d5b7f9220..0348a1710cb 100644 --- a/source +++ b/source @@ -7638,7 +7638,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • A reflected content attribute name is a string. When the reflected target is an element, it represents the local name of a content attribute whose namespace is null. When the reflected target is an ElementInternals object, it - represents a key of the internal content attribute map.

  • + represents a key of the reflected target's target + element's internal content attribute map.

    A reflected IDL attribute can be defined to reflect a reflected @@ -8125,20 +8126,21 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute -

    If a reflected IDL attribute attr has the type T?, where T is either Element or an - interface that inherits from Element, then: +

    If a reflected IDL attribute has the type T?, + where T is either Element or an interface that inherits from + Element, then: