From: "Rito Rhymes" <rito@ritovision.com>
To: "Jonathan Corbet" <corbet@lwn.net>,
"Rito Rhymes" <rito@ritovision.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
<linux-doc@vger.kernel.org>
Cc: "Shuah Khan" <skhan@linuxfoundation.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] docs: rework footer with semantic markup and responsive layout
Date: Wed, 25 Mar 2026 18:33:12 -0400 [thread overview]
Message-ID: <DHC7Y88CXPP8.1AXPXN8YUPK1D@ritovision.com> (raw)
In-Reply-To: <877bqzg146.fsf@trenco.lwn.net>
We could use a CSS override if the goal were only to change how
the footer looks. But CSS cannot change the footer's semantics for
accessibility, and that's where a fundamental issue lies.
The default theme renders the footer as a generic `div`, and
`class="footer"` does not give it any semantic meaning. Screen
readers and other accessibility tools do not treat that the same as
a real `<footer>` landmark.
To fix that properly, we need to change the markup, either by
rendering a native `<footer>` element or by adding
`role="contentinfo"` to the existing container. That requires
replacing the footer template/component, not just overriding its CSS.
Since the footer appears on every page, I think it's important to
ensure its a11y-friendly, so it makes sense to fix it at the markup
level rather than just overriding the CSS to be mobile-friendly.
Rito
next prev parent reply other threads:[~2026-03-25 22:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-21 13:18 [PATCH] " Rito Rhymes
2026-03-22 18:22 ` [PATCH v2] " Rito Rhymes
2026-03-25 19:28 ` Jonathan Corbet
2026-03-25 22:33 ` Rito Rhymes [this message]
2026-03-25 23:06 ` Jonathan Corbet
2026-03-26 0:28 ` Rito Rhymes
2026-03-26 0:58 ` [PATCH v3] docs: restore and reflow footer on narrow screens Rito Rhymes
2026-04-04 8:09 ` Rito Rhymes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DHC7Y88CXPP8.1AXPXN8YUPK1D@ritovision.com \
--to=rito@ritovision.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®