Skip to content

use <time> tag for datetime #156

Open
@scarf005

Description

@scarf005

Adding <time> tag helps with accessibility, such as screen readers.

one thing i'm worried about is that it'll cause breaking changes:

  • add_spans should be renamed to wrap_tags to not be misreading (as span != time)
  • css rules targetting old spans would be broken (span.git-revision-date-localized-plugin)

I'm willing to open a PR if these changes would be acceptable.

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