Use a unitless width on the footer logos in the page-footer snippet
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- html, markdown, yaml
- Domain
- documentation
Research direction
Open README.md at line 96 and example/_quarto.yml at line 66; both contain the footer logo <img> tags with width="65px". Change the attribute to width="65" in both files, then add a changelog.md entry telling site owners to make the same edit in their own _quarto.yml. Done when the footer snippet uses the unitless value and a built page passes the W3C validator without a width-attribute error.
Written by the indexing model from the issue text.
Description
Problem
The footer logo snippet in this repo uses width="65px". The HTML width attribute accepts only a whole number, with no unit. The W3C validator reports this as an error on the docs.posit.co homepage.
Product sites copy this snippet into the page-footer in their _quarto.yml, so the error is on every page that uses the footer.
The snippet is in two places:
README.md:96example/_quarto.yml:66
Fix
-
Change
width="65px"towidth="65"in both files:<img src="/images/posit-logos-2024_horiz-full-color.svg" alt="Posit" width="65" class="light-content posit-footer-logo"><img src="/images/posit-logo-fullcolor-TM.svg" alt="Posit" width="65" class="dark-content posit-footer-logo"> -
Add an entry to
changelog.mdthat tells site owners to make the same change in their own_quarto.yml. The theme can't fix the copies in each site.
Out of scope
An external SEO audit reported other validator errors at the same time. These come from Quarto, not from this theme, so this repo can't fix them:
- Duplicate
id="quarto-text-highlighting-styles"andid="quarto-bootstrap"on the light, dark, and extra stylesheet<link>elements append-hash="true"on<link>, which is not a valid attributerole="menu"on the navbar toggler<button>- Empty
id=""on some sidebar<ul class="sidebar-section">elements (for example, on/connect/admin/and/rspm/admin/, but not on the homepage). Quarto creates these from each site'ssidebar:config. This theme doesn't override the sidebar partial.
The first three are on the live site with Quarto 1.10.18, and the empty sidebar IDs are on the live site with Quarto 1.11.7. If they are still in the current Quarto release, report them to quarto-dev/quarto-cli.
How to verify
Run the W3C validator on a built page. It should not report errors for the footer <img> width attribute.
- Dominant language
- SCSS
- Stars
- 6
- Forks
- 5
- Avg merge
- 8h 10m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/product-doc-theme
-
accessibility bug CSS - Styles
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
posit-dev/product-doc-theme#216 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
posit-dev/product-doc-theme#194 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
posit-dev/product-doc-theme#193 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
posit-dev/product-doc-theme#213 ·
Maintainers usually reply within 1 day
-
Fix WCAG AA contrast failures and brand deviations in the themePossibly taken @sarahsdao claimed this 16 days ago. Open
posit-dev/product-doc-theme#211 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in posit-dev/product-doc-theme
Similar issues
-
external integration integration-submission
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
langchain-ai/docs#8426 ·
Maintainers usually reply within 1 day
-
[Benchmark] RX 6900 XT (gfx1030): Linux rx6000 package runs Qwen4-35B-A3B Balanced, 60 tok/s decodeOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
keyxmakerx/Chronicle#3048 ·
Maintainers usually reply within 1 day
-
marketing
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day