W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

Re: [csswg-drafts] [selectors] Add :role() pseudo-class (#3596)

From: James Craig via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Feb 2019 02:57:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-461674281-1549594658-sysbot+gh@w3.org>
@SelenIT wrote:
> I have a strong feeling that distinguishing data tables from layout table is a special, largely historical, exceptional case, that should be not generalized as a rule.

Here's the same concept for layout lists (a.k.a. "list-itis") versus semantic lists:  
[`AccessibilityList::determineAccessibilityRole()` in the WebKit source](https://github.com/WebKit/webkit/blob/master/Source/WebCore/accessibility/AccessibilityList.cpp#L127)

"div-itis" is also a thing, though thankfully that doesn't get an important role by default. Other element types that my get this treatment at some point include `<article>`, `<header>`, `<footer>`, etc.




-- 
GitHub Notification of comment by cookiecrook
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3596#issuecomment-461674281 using your GitHub account
Received on Friday, 8 February 2019 02:57:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC