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 new album form layout #2099

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Fix new album form layout #2099

merged 2 commits into from
Oct 23, 2023

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Oct 21, 2023

A part of https://github.com/nextcloud/andy/issues/5

Error: The element label must not appear as a descendant of the label element.

  • Remove incorrect <label> wrapper
  • Use <NcTextField>'s icon feature instead of separated icon
  • Use recommended 20px icon size on all icons
  • Use CSS variables for spacing
  • Remove right margin from buttons
  • Remove aria-label-s. Buttons with texts should not have aria-label that is different from the button text.
Before After
image image

@ShGKme ShGKme added bug Something isn't working 3. to review Waiting for reviews accessibility labels Oct 21, 2023
@ShGKme ShGKme added this to the Nextcloud 28 milestone Oct 21, 2023
@ShGKme ShGKme self-assigned this Oct 21, 2023
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

clean and looks much better!

@susnux
Copy link
Contributor

susnux commented Oct 21, 2023

Just fix the node CI :)

@ShGKme
Copy link
Contributor Author

ShGKme commented Oct 21, 2023

Just fix the node CI :)

Would you believe if I say, I did npm ci, npm run build, git status is clear and node is 20 with npm 9 🙈

- Remove incorrect `<label>`
- Set icon size 20px
- Fix buttons margin

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme
Copy link
Contributor Author

ShGKme commented Oct 23, 2023

Just rebased and re-compiled

@ShGKme ShGKme merged commit c76a8bd into master Oct 23, 2023
23 checks passed
@ShGKme ShGKme deleted the fix/new-album-layout branch October 23, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews accessibility bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants