legaldb icon indicating copy to clipboard operation
legaldb copied to clipboard

[Bug] CSS Link Tag Does Not Follow Vocabulary Documentation

Open SisiVero opened this issue 4 months ago • 5 comments

Description

The <link> tag for the CSS file is missing the media attribute, which is required for proper HTML semantics. And this does not follow the vocabulary docs. In the vocabulary docs, link tag for stylesheets must have the media="all".

Reproduction

  1. Clone the repo and go to base.html in scholarship folder
  2. Observe that the <link> tag for the CSS file does not include a media attribute:
    • https://github.com/creativecommons/legaldb/blob/83e0303b56e2a97b6fefd627bb049b9dd380b028/legal_db/templates/legal_db/base.html#L12
  3. See error.

Expectation

The link tag for stylesheet should have the media="all" as stated in Vocabulary documentation.

Additional context

Resolution

  • [ ] I would be interested in resolving this bug.

SisiVero avatar Oct 14 '24 11:10 SisiVero