Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make About dialog work without JavaScript #66

@waldyrious

Description

@waldyrious

In #65 a simple method to display a dialog box was implemented using the dialog element and its showModal() method.

However, it would be nice if as much of the site's functionality was available without JavaScript. So perhaps adapting one of the approaches from this component1, which is based on the <details> element, might be a better way to have that functionality (as long as it doesn't introduce too much complexity compared with the current approach).

Footnotes

  1. Note: that component has been deprecated in favor of this one (live demo); however, the newer component requires JavaScript to work, so there's no benefit over using <dialog> and showModal().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions