Skip to content

docs/examples should point to destination element in href attribute as fallback #522

Open
@plweil

Description

@plweil

The examples show the anchor element as <a href="#" .... >

If the user doesn't have js, or the script isn't working for some reason, the jump link won't work, and the user will be confused at best. As a fallback, the href attribute should point to the destination element id. That way the jump link will work no matter what.

<a href="#destinationElement" .... >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions