Re: [w3ctag/design-reviews] Reference Target (Issue #961)

Not sure what I prefer but trying to think it through, I *think* this captures most of the points mentioned but happy to correct or amend as needed.

| ARIA Info on      | Advantages                                        | Disadvantages                               |
|---------------|---------------------------------------------------|---------------------------------------------|
| ShadowRoot | 1. Centralizes new syntax/API        | 1. Hard to name things explicitly              |
|               | 2. Uses familiar ID syntax   | 2. Brittle to match names in two places        |
|               | 3. Easily supports ordering  | 3. Complex syntax for mapping                  |
|               | 4. Dynamism *might* be simpler |            |
| Elements   | 1. Avoids need for explicit names                  | 1. Unclear how to support ordering             |
|               | 2. Avoids need to coordinate names         | 2. Impact of introducing new global attributes |
|               | 3. Easy to author changes | 3. Novel solution may introduce cognitive load |
|               |                                                   | 4. Misses chance to solve general naming problem |


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/961#issuecomment-2457667230
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/961/2457667230@github.com>

Received on Tuesday, 5 November 2024 16:41:03 UTC