-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Consider to improve the Post Format suggestion design and accessibility #9363
Comments
What is the a11y reason for the left? I ask as it's making it less readable so trying to find the balance. |
I'm not sure I fully understand. Do you mean left alignment? To me, it's more readable left aligned. Besides subjective opinions that might differ, this text now is longer (and potentially even longer when translated) and doesn't look so nice when right-aligned. |
I'm definitely for the more elaborate text. As it is it's both not accessible nor very useful to sighted users. I honestly think it looks a bit meh left-aligned or right-aligned, but in shorter locales it should look a bit better right-aligned (and more connected with the dropdown, which adds context). That said, I think the pre-publish panel suggestion is a better place for this and I'd be for removing this all-together from the document sidebar. It's a really crowded area, the space is cramped, and it's hard to make the text usable even for sighted users. I actually think adding some Now that the pre-publish panel offers it (in a much better way, with more context and better accessibility), let's just remove it. |
@afercia thanks for the explanation. I wanted to make sure it was a visual not hierarchy for screen readers or other assisted devices. As people expect to see post formats in the actual sidebar right now, it's not a mental model I think we should break today. Some themes hook into it for display. Let's get this in but not aligned left. I think right for now. Do we need to say all of that text, fine if we do but wanted to check. |
All of that text needs to be there. It's inaccessible if not, but it's also just poor usability. It should read:
I can't think of a less-verbose way of phrasing it that doesn't lose context, but if anyone can, go for it ^_^ |
When Gutenberg detects a post content could benefit from applying a specific post format, a suggestion appears in the Sidebar:
Depending on the content, it can be any of the post formats, e.g. a Gallery:
Clicking the suggested format, sets the format in the post.
I think there are a couple things that could be improved:
Instead, the post format suggestion displayed in the publishing flow is clearer and makes sense even when read out of context:
I'd suggest to refactor the text used in the Sidebar to use something along the lines of the one used in the Publishing flow.
The text was updated successfully, but these errors were encountered: