- From: Curtis Wilcox via GitHub <noreply@w3.org>
- Date: Sat, 28 Jun 2025 17:48:33 +0000
- To: public-css-archive@w3.org
extra808 has just created a new issue for https://github.com/w3c/csswg-drafts: == [selectors] :heading() selector and the accessibility tree == @keithamus #10296 > I want to stress that I am of the opinion that `aria-level` or `role=heading` should _not_ impact `:heading()`; they are readily selectable today and I don't think aria should have that dramatic an impact on other selectors. The intent of `headingoffset` is to make it easier for content with heading elements to appear on different pages in different contexts where the appropriate heading level is different; specifically, the heading level as it is presented in the accessibility tree. The intent of a `heading()` is to ease adjusting the styling of headings so that its consistent not with the elements used but their heading level in the accessibility tree. If the intent is to help accessibility tree heading levels and the DOM elements they're based on correspond, it should include _all_ the heading levels in that tree, regardless of how they came to be there. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12412 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 28 June 2025 17:48:33 UTC