gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

It's not clear that you can scroll to view long gallery image captions.

Open kjellr opened this issue 8 years ago • 11 comments

When a gallery image contains a long caption, users can scroll down to view the full caption text:

gallery-long-captions

Unfortunately, if a users device isn't configured to show scrollbars (mobile devices, most Macs), there's no indication that scrolling is an option there. Instead, it just looks like text is missing.

One possible idea: Cutting off the text slightly to imply that there's more to read:

screen shot 2018-07-13 at 2 58 00 pm

kjellr avatar Jul 13 '18 19:07 kjellr

@kjellr should this still have a Needs Design Feedback label or would your text cutoff idea be good to preview in a PR?

draganescu avatar Apr 20 '20 10:04 draganescu

I think needs design feedback is appropriate. 👍

kjellr avatar Apr 20 '20 13:04 kjellr

Some quick feedback:

While the cutoff proposal for captions provides a solution for longer ones, it seems to make the shorter captions more difficult to read. Those would need to be scrolled too.

Maybe it's just the position of the cutoff. If we allow longer captions to move up in the Image and show the third line cut off, that might work better. This way shorter captions can still be completely visible and longer captions that need scrolling are also indicated.

Screen Shot 2020-05-12 at 2 38 39 PM

mapk avatar May 12 '20 21:05 mapk

At present time I think Mark's solution might be best. As it gives a hint that there is more text. Either the user thinks it might be a bug or will understand that they can scroll to view the rest of the caption.

paaljoachim avatar Jun 16 '20 16:06 paaljoachim

I agree with @mapk and @paaljoachim on the solution. I do like @kjellr solution mockup with the slight gradient over the text to show it's contained within the image, however.

MDWolinski avatar Jun 16 '20 16:06 MDWolinski

I think the best solution is to put the text below the image instead of on top of it. After all, it's an image gallery, and with long text, you can't even see the image.

joyously avatar Jun 16 '20 16:06 joyously

Btw here is an older issue which brings up gallery image captions: https://github.com/WordPress/gutenberg/issues/8030

Here is an option to place the caption below the images: https://github.com/WordPress/gutenberg/issues/8030#issuecomment-407054953

paaljoachim avatar Jun 18 '20 09:06 paaljoachim

Linking this to the PR. Gallery: Refactor as wrapper around core image blocks https://github.com/WordPress/gutenberg/pull/25940

paaljoachim avatar Feb 16 '21 01:02 paaljoachim

This is more broken on the the new gallery format, so probably should be sorted before the new gallery experimental flag is removed: long-caption

glendaviesnz avatar Aug 29 '21 23:08 glendaviesnz

#34402 didn't really fix this so reopening

glendaviesnz avatar Sep 01 '21 02:09 glendaviesnz

Outside of offering other styles, we are not really planning anything else here.

mtias avatar Jun 28 '23 15:06 mtias