Skip to content

Should popovertarget be generic? #9167

@jakearchibald

Description

@jakearchibald

#3567 requests a way to open <dialog> without JavaScript, which seems reasonable.

<button popovertarget="foo">Toggle popover</button>

The above will toggle a popover with ID "foo".

Should we rename popovertarget to openabletarget (or whatever), and allow it to work with other things that can be open/closed, such as <dialog> and <details>?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions