Skip to content

Additional usage guidance for IDL attribute types (such as DOMString?) #11078

@rahimabdi

Description

@rahimabdi
Contributor

What is the issue with the HTML Standard?

The HTML spec may benefit from normative guidance on using the most appropriate type for IDL attributes.

For example, as part of a recent ARIA-motivated update to the DOMString? getter, @domenic called out that DOMString? may need to be discouraged for non-enumerated attributes. @annevk also agreed that general clarity on attribute design would be beneficial, so this issue would not be limited to DOMString? usage recommendations.

Activity

self-assigned this
on Mar 1, 2025
linked a pull request that will close this issue on Mar 23, 2025
rahimabdi

rahimabdi commented on Mar 23, 2025

@rahimabdi
ContributorAuthor

@domenic @annevk This one is ready for review: #11153.

I'm getting a strange PR run error with my ReSpec link reference to classList; DOM spec shows that it should be linked via #dom-element-classlist but it doesn't appear to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @rahimabdi

    Issue actions

      Additional usage guidance for IDL attribute types (such as DOMString?) · Issue #11078 · whatwg/html