Skip to content

Conversation

@kapiljaveri
Copy link
Contributor

The DrawerPanel has a dialog role which should support aria-labelledby and aria-describedby attributes.

The DrawerPanel has a dialog role which should support aria-labelledby and aria-describedby attributes.
@vercel
Copy link

vercel bot commented Aug 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drawer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2024 5:34pm
@kapiljaveri
Copy link
Contributor Author

@zombieJ if you can take a look when you get the chance :)

@afc163
Copy link
Member

afc163 commented Jan 4, 2024

Conflicting

@kapiljaveri
Copy link
Contributor Author

@afc163, all resolved.

@afc163
Copy link
Member

afc163 commented Feb 6, 2024

We should change this line.

- {...pickAttrs(props, { data: true })} + {...pickAttrs(props, { data: true, aria: true })}
@kapiljaveri
Copy link
Contributor Author

@afc163, won't that apply it to the container div instead of the Panel having the div with the role=dialog? The goal was to make the the dialog queryable via the attributes.

But I could definitely leverage that instead of my custom function.

@codecov
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4629910) 100.00% compared to head (69607ed) 100.00%.

Additional details and impacted files
@@ Coverage Diff @@ ## master #425 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 5 5 Lines 148 148 Branches 53 53 ========================================= Hits 148 148 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@afc163 afc163 merged commit dddc45c into react-component:master Feb 7, 2024
@afc163
Copy link
Member

afc163 commented Feb 7, 2024

@kapiljaveri You are right.

@kapiljaveri
Copy link
Contributor Author

Awesome, thanks for the review!

@kapiljaveri kapiljaveri deleted the feat-add-aria-support-for-dialog branch February 7, 2024 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants