The table below is to document the extent of which the MapML polyfill conforms to the W3C TAG's Guidelines for creating web platform compatible components.
| TAG Guideline | Conforms | Note |
|---|---|---|
| 1.1 Native HTML elements | ||
| 1. Elements don’t throw errors when used declaratively |
|
TBD |
| 2. Elements are self-contained |
|
TBD |
| 3. Use events to pass data to the outside world |
|
TBD |
| 4. Use attributes to receive non-complex data |
|
TBD |
| 5. Interactive elements are focusable |
|
TBD |
| 6. Elements can be instantiated without being part of the document |
|
TBD |
| 7. Elements should only have basic styling |
|
See the basic styling label for relevant issues/PRs |
| 1.2 Other considerations | ||
| 1. Don’t enforce unnecessary child/parent relationships |
|
TBD |
| 2. Avoid using callbacks |
|
TBD |
| 3. Harmonize declarative (HTML) and imperative (JavaScript) APIs |
|
TBD |