Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

feat: add fieldset and legend in eventForm for screen readers - #2352

Merged
gikf merged 4 commits into
freeCodeCamp:mainfrom
Sboonny:feat/add-event-type-for-screen-readers
Mar 11, 2023
Merged

gikf merged 4 commits into
freeCodeCamp:mainfrom
Sboonny:feat/add-event-type-for-screen-readers

Conversation

@Sboonny

@Sboonny Sboonny commented Feb 7, 2023

Copy link
Copy Markdown
Member
  • I have read Chapter's contributing guidelines.
  • My pull request has a descriptive title (not a vague title like Update README.md).
  • My pull request targets the main branch of Chapter.

Screen Readers may need additional context of what does checking invite-only does, for now they will know it's the type of the event

@Sboonny
Sboonny requested a review from a team February 7, 2023 12:36
@ghost

ghost commented Feb 7, 2023 •

Copy link
Copy Markdown
👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@gikf

gikf commented Feb 17, 2023

Copy link
Copy Markdown
Member

Event Type sounds a bit weird to me when describing invite-only event. Not that this isn't technically correct.

I don't have idea for what that could be changed. What came to my mind is grouping the Invite only checkbox together with the Capacity and call them both Attendee restrictions or Event restrictions. What do you think?

@Sboonny

Sboonny commented Mar 11, 2023 •

Copy link
Copy Markdown
Member Author

Sorry, I have missed the comment while I was sick, I am happy with adding the changes.

Just to add another option, this change is purely for screen readers, if it isn't visually pleasing, we can add a legend with too many details and set it as visibility hidden.

but I don't know what to add as well 🤣.

Edit: shouldn't have pushed the latest commit.

@Sboonny
Sboonny marked this pull request as draft March 11, 2023 08:06
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
@Sboonny
Sboonny force-pushed the feat/add-event-type-for-screen-readers branch from 5a696a5 to 71c6357 Compare March 11, 2023 09:00
@Sboonny
Sboonny marked this pull request as ready for review March 11, 2023 09:01
@Sboonny
Sboonny force-pushed the feat/add-event-type-for-screen-readers branch from 45759f2 to e521e3e Compare March 11, 2023 09:22
@Sboonny
Sboonny force-pushed the feat/add-event-type-for-screen-readers branch from e521e3e to 17c082c Compare March 11, 2023 09:24
@gikf
gikf merged commit 7dcc174 into freeCodeCamp:main Mar 11, 2023
@Sboonny
Sboonny deleted the feat/add-event-type-for-screen-readers branch March 11, 2023 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants