Git Product home page Git Product logo

Comments (4)

SiTaggart avatar SiTaggart commented on September 28, 2024 1

Excellent, thanks 👍

from html-aria.

dylanb avatar dylanb commented on September 28, 2024

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.

stevefaulkner avatar stevefaulkner commented on September 28, 2024

@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.

stevefaulkner avatar stevefaulkner commented on September 28, 2024

updated informative content in HTML 5.2 for tr element to reflect ARIA in HTML

from html-aria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.