Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make title optional on Menu #174

Merged
merged 9 commits into from
May 30, 2024
Merged

Make title optional on Menu #174

merged 9 commits into from
May 30, 2024

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented May 28, 2024

No description provided.

@dbkr dbkr added the enhancement New feature or request label May 28, 2024
Copy link

cloudflare-workers-and-pages bot commented May 28, 2024

Deploying compound-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 937c67b
Status: ✅  Deploy successful!
Preview URL: https://936ebbbf.compound-web.pages.dev
Branch Preview URL: https://dbkr-menu-optional-title.compound-web.pages.dev

View logs

@dbkr dbkr marked this pull request as ready for review May 28, 2024 18:19
@dbkr dbkr requested a review from a team as a code owner May 28, 2024 18:19
@dbkr dbkr requested review from t3chguy and robintown and removed request for a team May 28, 2024 18:19
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like if a title is not provided then a label must be, can the types reflect this?

@dbkr
Copy link
Member Author

dbkr commented May 28, 2024

Not sure what you mean... there is no prop for label, or were you suggesting adding one?

@t3chguy
Copy link
Member

t3chguy commented May 28, 2024

Yes, given right now label=title via labelled-by, this change makes the menu able to be label-less which is poor a11y

@dbkr dbkr requested a review from t3chguy May 29, 2024 12:36
src/components/Menu/FloatingMenu.tsx Outdated Show resolved Hide resolved
@dbkr dbkr requested a review from t3chguy May 30, 2024 10:07
@dbkr dbkr merged commit 1f82526 into main May 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants