- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 27 Sep 2022 21:50:53 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 28 September 2022 04:51:05 UTC
There are a few solutions to consider here. 1. Put ARIA on `template` element and automatically transfer them to `ElementInternals`. This is a bit strange since we'd be special-casing ARIA on template elements then. 2. Introduce new shadowaria* or defaultaria* content attributes. e.g. shadowarialabel="blah" or defaultarialabel="blah" would translate to setting ariaLabel to "blah" in `ElementInternals`. 3. "elementinternals" content attribute with its own micro-syntax for serializing `ElementInternals`. e.g. `elementinternals="role='checkbox' ariaLabel='blah'"` or `elementinternals='{"role": "checkbox", "ariaLabel": "blah"}'`. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/972#issuecomment-1260384831 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/972/1260384831@github.com>
Received on Wednesday, 28 September 2022 04:51:05 UTC