stumptown-content
stumptown-content copied to clipboard
Support global attributes
The HTML documentation on MDN includes pages for all the global attributes, e.g. https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey.
We should define a structure for these pages, and migrate all of them into that structure.
Acceptance criteria:
- global attributes recipe is written and checked into stumptown-content
- all global attributes are migrated into stumptown-content
Currently, we have a few attributes migrated to certain elements that are actually global attributes per the spec. We should move these into the global attributes folder once it exists and add spec_url.
body (see https://html.spec.whatwg.org/multipage/dom.html#global-attributes:event-handler-content-attributes)
onbluronerroronfocusonloadonredoonresizeonundo
button
autofocus(see https://html.spec.whatwg.org/#the-autofocus-attribute:attr-fe-autofocus-7)
all global attributes are migrated into stumptown-content
I'm removing this from the AC but we should come back to it once we have initial support for global attributes in the next sprint.
Can you make sure there is a user story (stub) for that?
Parked until a decision is made about its future.