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

Fix DOM ids and labels of ingredient editors #2526

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 25, 2023

What is this pull request for?

The boolean ingredient editor label tag must
not have a for attribute since it nests the input tag.
That input does not need an id as it is
nested. Solves an issue with non-clickable
label on the checkbox.

The image editor label must not have a for
attribute as well, as there is no focusable form
element.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen requested a review from a team July 25, 2023 22:00
The boolean ingredient editor label tag must
not have a `for` attribute since it nests the input
tag. That input does not need an `id` as it is
nested. Solves an issue with non-clickable
label on the checkbox.

The image editor label must not have a `for`
attribute as well, as there is no focusable form
element.
@tvdeyen tvdeyen merged commit ef9bbfa into AlchemyCMS:main Jul 31, 2023
23 checks passed
@tvdeyen tvdeyen deleted the fix-ingredient-labels branch July 31, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-7.0-stable Needs to be backported to 7.0-stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants