WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.3k stars 4.11k forks source link

Featured Image label missing after image has been added to page #63321

Open andreawetzel opened 1 month ago

andreawetzel commented 1 month ago

Description

Testing 6.6-rc3. After adding a featured image, there is no longer a label above the image stating that it is a Featured Image.

The concern is that someone with little WordPress Experience may inherit a site that has featured images in place and will have no context for what this image is for and how it is related to the page or post. It is also a potential accessibility barrier to not have visual context related to this form input.

Step-by-step reproduction instructions

  1. Open or create a page
  2. Add or upload a featured image

Screenshots, screen recording, code snippet

featured-image-no-label

Environment info

WP 6.6-rc3 Twenty TwentyFour theme Gutenberg plugin not enabled

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Mamaduka commented 1 month ago

cc @jameskoster, @ntsekouras

afercia commented 1 month ago

I support adding headings to identify sections of content. The 'label' shouldn't just be a visual label i.e. unsemantic text. It should be a heading element.

The effort to reunify the Post Editor with the Site Editor and the new Post Summary panel introduced many changes and an overall drop in the amount of headings used on the page.

In the screenshot below, a comparison of the headings structure in WordPress 6.5 (left) and the one on trunk (right). Overall, I wouldn't say the content structure and headings hierarchy has improved, to be fair.

post panel and headings

I'd like to remind everyone that headings are of fundamental importance for many users to navigate the page and find content.

jameskoster commented 1 month ago

I assume we'd also need headings for the other sections (Summary and Excerpt)?

Screenshot 2024-07-10 at 15 50 08

cc @WordPress/gutenberg-design for input.

afercia commented 1 month ago

I assume we'd also need headings for the other sections (Summary and Excerpt)?

Ideally, yes but not sure that it should be discussed in the scope of this issue, which is specific to the featured image.

To me, the new Post Summary mixes together settings that are conceptually very different. I'd argue that also from a visual perspecitve, this panel is now a litlte too 'crowded'. Scanning visually its content is now more challenging. This is a broader issue though and there are other things to address e.g.:

youknowriad commented 1 month ago

Personally, I felt that the new design improved the readability of the sidebar as it became way easier to scan. The old one had way too much information at the same time for my liking and it was also very disorganized. The new one seems more consistent.

There might be some things we can do to improve clarity though but I do appreciate the consistency and the clarity of the new design.

Just my 2cts

afercia commented 1 month ago

Besides personal perception and opinions, an UI that aims to be as accessible as possible must provide information. Removing headings or other informative text isn't a great way to improve information. It justs makes the UI visually lighter.

An accessible UI should prioritize function over form. Which is, I guess, the point where views about design differ between designers and accessibility specialists.

youknowriad commented 1 month ago

An accessible UI should prioritize function over form.

This is exactly where I'm coming from when I shared the above. It's not about form, it's about the UI being more usable IMO.