MediaViewer provides a bunch of boilerplate texts in its share/download/embed panels. It is currently impossible to read this texts without copying them into another application (such as a text editor): the textboxes are very small and only show the first few characters, and they get automatically refocused and keypresses are captured by other handlers and used for global behavior (such as prev/next), so really to only way to scroll the text is having a touchpad. This is annoying for the experienced user, and makes it harder for the inexperienced one to understand the purpose of the text.
Example: https://en.wikipedia.org/wiki/State_of_the_Union#mediaviewer/File:Livingood_Obama_State_of_the_Union_2011.jpg (click Use this file > Embed > HTML)
While most of these design decisions were taken in order to maximize the ease of copying the text, and that is a worthwhile goal, there should be a way to just read the text.
Some options raised here and in other places:
- Change the size of the textarea. While the layout varies a bit (there are several types of boilerplate texts, depending on your choice of share/embed/download and the format), usually there is a fair bit of unused space at the bottom of the popup. Many images would still not fit, though - the description can be rather long.
- Make the textarea resizable by the user (override the resize:none CSS property provided by OOUI). Somewhat problematic since the parent element is fixed height so a resize attempt can end up looking like this:
- Use OOUI's autosize option which makes the window grow vertically to encompass the text. Same problem as above but might be possible to limit it to use the available space.
- Reduce font size.
- Make the textarea editable so users can scroll with the keyboard. This raises its own issues (e.g. how do you get the text back if you accidentally delete it?) and in general seems to be like an unusual thing to do.
Note also that at some point the boilerplate text might be, in some formats, something that cannot be put in a textarea. (T75957)
See also: T110579