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

enh(a11y): Update folder design to fix contrast issues #2255

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Jan 17, 2024

Summary

  • Update folder component to match album component design
  • Make page mobile-friendly at 320px
  • Test with NVDA
Before After
image image
image image
Albums
image

@Pytal Pytal added 3. to review Waiting for reviews accessibility labels Jan 17, 2024
@Pytal Pytal added this to the Nextcloud 29 milestone Jan 17, 2024
@Pytal Pytal self-assigned this Jan 17, 2024
@Pytal
Copy link
Member Author

Pytal commented Jan 17, 2024

Not sure about design, any suggestions @szaimen @nimishavijay?

@nimishavijay
Copy link
Member

Hmm, not too sure about this either. What do you think about making it similar to the design of albums? Some changes will be needed to differentiate it from albums, such as a smaller thumbnail and a folder icon before the title. What do you think?

@Pytal Pytal force-pushed the fix/a11y/folder-contrast branch 3 times, most recently from a8bbe8f to 47299e9 Compare January 18, 2024 00:31
@Pytal Pytal changed the title fix(a11y): Photos folder icon and text contrast enh(a11y): Update folder design to fix contrast issues Jan 18, 2024
@Pytal
Copy link
Member Author

Pytal commented Jan 18, 2024

/compile /

@Pytal
Copy link
Member Author

Pytal commented Jan 18, 2024

Some changes will be needed to differentiate it from albums, such as a smaller thumbnail and a folder icon before the title. What do you think?

Made it the same size as albums with 350x350px thumbnails to be consistent, but open to a smaller size suggestion if you'd think it'd be better design-wise @nimishavijay?

@nimishavijay
Copy link
Member

Nice, already looks better! Not a blocker, but I would indeed suggest a smaller size, so that the focus is more on the name of the folder. How about 200px? :)

Copy link
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

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

How does it look when folder and images are mixed together?

@Pytal
Copy link
Member Author

Pytal commented Jan 18, 2024

How does it look when folder and images are mixed together?

Less noticeable now with 200px thumbnails but basically just scales it up slightly from the file-only grid

image

@Pytal
Copy link
Member Author

Pytal commented Jan 18, 2024

/compile /

Copy link
Contributor

@JuliaKirschenheuter JuliaKirschenheuter left a comment

Choose a reason for hiding this comment

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

Works and looks great 😊

@Pytal
Copy link
Member Author

Pytal commented Jan 22, 2024

/compile /

@Pytal
Copy link
Member Author

Pytal commented Jan 22, 2024

/backport 0dc150b to stable28

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label Jan 22, 2024
Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal
Copy link
Member Author

Pytal commented Jan 22, 2024

/compile /

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@Pytal Pytal enabled auto-merge January 22, 2024 20:43
@Pytal Pytal merged commit a6b07ac into master Jan 22, 2024
24 checks passed
@Pytal Pytal deleted the fix/a11y/folder-contrast branch January 22, 2024 22:28
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BITV]: Contrast of a title is not enough
5 participants