Treegrid Example: Remove explicit role="row" declaration from "TR" elements by adampage · Pull Request #3291 · w3c/aria-practices · GitHub
Skip to content

Treegrid Example: Remove explicit role="row" declaration from "TR" elements - #3291

Open
adampage wants to merge 11 commits into
w3c:mainfrom
adampage:explicit-row-role-removal
Open

adampage wants to merge 11 commits into
w3c:mainfrom
adampage:explicit-row-role-removal

Conversation

@adampage

@adampage adampage commented Jun 7, 2025 •

Copy link
Copy Markdown
Member

Resolves #1049.

Preview revised Treegrid Email Inbox Example


WAI Preview Link (Last built on Tue, 10 Jun 2025 20:02:53 GMT).

@adampage adampage changed the title Remove explicit row="role" declaration from treegrid example Remove explicit role="row" declaration from treegrid example Jun 7, 2025
@adampage

adampage commented Jun 7, 2025

Copy link
Copy Markdown
Member Author

@adampage
adampage requested review from howard-e and mcking65 June 7, 2025 06:21
@mcking65 mcking65 changed the title Remove explicit role="row" declaration from treegrid example Treegrid Example: Remove explicit role="row" declaration from "TR" elements Jun 10, 2025
@css-meeting-bot

Copy link
Copy Markdown
Member

The ARIA Authoring Practices (APG) Task Force just discussed PR 3291 - Remove role of row from TR elements in treegrid example.

The full IRC log of that discussion <howard-e> TOPIC: PR 3291 - Remove role of row from TR elements in treegrid example
<howard-e> github: https://github.com//pull/3291
<howard-e> Matt_King: This is ready for review too but I'm a little confused by what's going on with the validator here
<howard-e> Matt_King: Adam_Page, do you understand why it's still failing here after updating the vnurc even though it's updated
<howard-e> Adam_Page: [describes the failure as "Element “tr” is missing one or more of the following attributes: “role”."]
<howard-e> Matt_King: I wonder why the validator thinks it needs to have it
<howard-e> Matt_King: I thought the validator was throwing an error if it was present before but we had a line in vnurc that said don't throw this error
<howard-e> Adam_Page: is there a verbose option for the log?
<howard-e> howard-e: Unsure but I can check
<howard-e> Matt_King: It's so ironic, right?
<howard-e> Matt_King: at least an older version of the validator said the opposite
<howard-e> Matt_King: So which one is needed?
<howard-e> Adam_Page: just found a note in the vnurc which describes this exact scenario so this really is some weird paradox
<howard-e> Matt_King: Wondering if you took out all the rows in vnurc on row, posinset, tr, how it reacts
<howard-e> Matt_King: And also setsize but less sure about that
<howard-e> Matt_King: if there's still validator bug fixing needed, we should just make sure the right issues are raised
<howard-e> Adam_Page: I will comment out those lines in vnurc for now
<howard-e> Matt_King: I'm checking to see if the prior validator bugs we filed are still open
<howard-e> Matt_King: Ultimately, we want to figure out that if we remove the row=role, what validator needs from us
<howard-e> Adam_Page: Yep. I just pushed a commit so I can check what happens there

@adampage

Copy link
Copy Markdown
Member Author

@css-meeting-bot

Copy link
Copy Markdown
Member

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Treegrid example has <tr role="row"> which is not allowed per ARIA in HTML spec

2 participants