legaldb
legaldb copied to clipboard
[Bug] CSS Link Tag Does Not Follow Vocabulary Documentation
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
- Clone the repo and go to
base.html
in scholarship folder - 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
- See error.
Expectation
The link tag for stylesheet should have the media="all"
as stated in Vocabulary documentation.
Additional context
- creativecommons/vocabulary: A cohesive system of design for Creative Commons
Resolution
- [ ] I would be interested in resolving this bug.