-
Notifications
You must be signed in to change notification settings - Fork 4.2k
-
#1418 (comment)
Screen Shot 2023年01月07日 at 9 50 29 AM
Certain attributes are associated with certain elements. Here are relevant existing entries, cross-linking:
Thoughts:
- Global HTML attributes such as
autocapitalizeanddir
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 1 reply
-
Picking up where @SSwiniarski left off on this, do we mean we could have term entries under the Attributes concept entry and then any attributes listed under a given element would be linked to such a term entry?
For example, the attributes listed in the <button> entry could be links to new terms for autofocus, type, etc.
Beta Was this translation helpful? Give feedback.
All reactions
-
@SSwiniarski This is going to require some digging into the HTML elements that mention any attributes. I think it'll be valuable to separate the attributes from elements in the long term since they're bound to change in the future on a modular level.
For something like adding a term entry for autofocus, that's one issue+PR. I'm thinking we could start with adding the term entries and when those entries are merged, a following issue can be created on editing any HTML element entry that mentions the attribute.
Beta Was this translation helpful? Give feedback.
All reactions
-
@yangc95 That sounds like a good plan.
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1