Comments (4)
Excellent, thanks 👍
from html-aria.
No, I think what that table says is that you can set ANY role on a <tr>
element, however your other issue (referenced) is a bug that we need to fix
from html-aria.
@SiTaggart @dylanb
as TR has an implicit role of row, in general it does not need to be set and it is not recommended it be set. Thus it says in the ARIA in HTML spec "Implicit ARIA semantics - SHOULD NOT be used" this is a normative statement. If you do use it, and check your conformance using the HTMl validator you will get a warning, its a warning (not an error) because there may be some circumstance that merits using it.
@SiTaggart in regards to your question: "Which is right?".
the authoritative spec in this case is ARIA in HTML
from the HTML 5.1 spec:
3.2.7.2. Conformance Checker Implementation Requirements
Conformance checkers are required to implement document conformance requirements for use of the ARIA role and aria-* attributes on HTML elements , as defined in ARIA in HTML. [html-aria]
The information for use of ARIA provided in the head section of each element definition is informative only. The issue you found with TR is a bug and needs to be fixed in the html spec.
from html-aria.
updated informative content in HTML 5.2 for tr element to reflect ARIA in HTML
from html-aria.
Related Issues (20)
- Wrong implicit role for hgroup element HOT 1
- Improve understandability of Figure in "Rules of ARIA attribute usage by HTML element" table
- Editorial - Removed "or" at the beginning of the list of allowed roles for "form" element
- Wrong role for Header in "Rules of ARIA attribute usage by HTML element" table
- Editorial - Rephrase "Any element where the checked attribute is allowed" row of "Rules of ARIA attribute usage by HTML feature" table
- Clarification regarding input type=image explicit roles
- Clarification regarding explicit allowed role for section elements HOT 11
- Clarification regarding implicit role for table elements HOT 2
- Question regarding prohibition on turning radio buttons into ARIA tabs
- Editorial - correct the English in a comment in the example "Unwanted rendered markup with valid alternative solution"
- likely a typo: "parent list item" should be "parent list element" HOT 1
- relationship between native semantics of HTML popover feature and ARIA might need to be normalized. HOT 5
- Button with type="button" doesn't support role="combobox" HOT 2
- Should meter element allow all aria-* attributes allowed on meter role? HOT 1
- Respec table styling changed causing overlap issues HOT 2
- Clean up README and CONTRIBUTING guide
- role="math" on images HOT 4
- Provide more nuance to allowances for child table elements
- Errata link is leading to a different page
- JSON for implementors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html-aria.