Skip to content

Conversation

@csillag
Copy link
Contributor

@csillag csillag commented Aug 29, 2025

In the layout picker, we are using a Drawer component, which is using Radix's Dialog under the hood.

On the browser console, there was a message:

DialogContent requires a DialogTitle
for the component to be accessible for screen reader users.

etc.

This change fixes that, by wrapping the already existing app logo with the required DrawerTitle tag.

@github-actions
Copy link

github-actions bot commented Aug 29, 2025

Deployed to Cloudflare Pages

Latest commit: 4e18ced065a4b8e19f263ea991dbc9dd3c125bf2
Status:✅ Deploy successful!
Preview URL: https://1e43322d.oasis-explorer.pages.dev
Alias: https://pr-2168.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/solve-warning-about-missing-dialog-title branch from d2349d4 to e0239ce Compare August 29, 2025 09:29
@csillag csillag marked this pull request as ready for review August 29, 2025 09:29
@csillag csillag force-pushed the csillag/solve-warning-about-missing-dialog-title branch from e0239ce to 7e8957d Compare August 29, 2025 09:52
@csillag
Copy link
Contributor Author

csillag commented Aug 29, 2025

See also oasisprotocol/ui-library#62 for some more cleanup related to the layer picker

@csillag csillag force-pushed the csillag/solve-warning-about-missing-dialog-title branch from 7e8957d to 266e7d1 Compare August 29, 2025 18:26
@csillag
Copy link
Contributor Author

csillag commented Aug 29, 2025

This PR now also includes a bump of ui-library, to use the latest version that also has the fix for the warning about the missing forwardRef, also triggered by the layer picker.

@csillag csillag self-assigned this Aug 29, 2025
n the layout picker, we are using a Drawer component,
which is using Radix's Dialog under the hood.

On the browser console, there was a message:

> `DialogContent` requires a `DialogTitle`
> for the component to be accessible for screen reader users.

etc.

This change fixes that, by wrapping the already existing
app logo with the required DrawerTitle tag.
@csillag csillag force-pushed the csillag/solve-warning-about-missing-dialog-title branch from 266e7d1 to 4900bb9 Compare September 4, 2025 17:04
@csillag csillag force-pushed the csillag/solve-warning-about-missing-dialog-title branch from 4900bb9 to 4e18ced Compare September 4, 2025 17:21
@csillag csillag enabled auto-merge September 4, 2025 17:22
@csillag csillag merged commit 035adc1 into master Sep 4, 2025
9 checks passed
@csillag csillag deleted the csillag/solve-warning-about-missing-dialog-title branch September 4, 2025 17:23
buberdds added a commit that referenced this pull request Sep 17, 2025
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.

3 participants