Textareas seem to be able to overflow (and are in some cases)

Created on 21 February 2024, 4 months ago
Updated 10 May 2024, about 1 month ago

Problem/Motivation

<textarea> elements are capable of overflowing their containers. This can lead to accessibility problems for sighted users, so tagging with accessibility :-).

Steps to reproduce

The most obvious example is to enable Content Moderation and check out a node edit page. Note that the textarea for the Revision log message field goes off viewport.

Proposed resolution

Add max-width: 100% to <textarea> elements?

Remaining tasks

Agree it's a good change.
Do it.

User interface changes

Textareas no longer overflow their containers.

API changes

None

Data model changes

None

🐛 Bug report
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

🇺🇸United States Luke.Leber Pennsylvania

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024