Global attributes versus attributes

There are about 20 global attributes under the Global Attributes section: https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes - note the Global_attributes part of that url.
There are about 130 attributes, including those global ones, listed on https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Attributes, with about 15 of those documents as sub files of https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Attributes.

The question i have is, should we move the global under the Global_attributes or include it under Attributes. My view is all the attributes should be together under Attributes, but didn’t want to port the global attributes under that if there was disagreement with my view.

2 Likes

Thanks for bringing this up @estellevw. I think this sounds reasonable, but it’d be interesting to hear from others on the team. I think the one negative aspect here is probably that doing this would break the htmlattrxref macro. But we are working on getting rid of macros soon anyway :wink:

Any thoughts @wbamberg, @sheppy, @fscholz, @jswisher or anyone else? :wink:

My thought is that if we move Global_attributes/foo to Attributes/foo, any link to the old foo will be redirected to the new foo, meaning the htmlattrxrefmacro links will redirect too. But, i have no knowledge of how the macro works, (so I could be typing random characters that somehow fit neatly into an incorrect thought)