Height and width are required for responsive embeds

Created on 18 July 2025, 17 days ago

Problem/Motivation

The height and width fields are required for every video and this is causes a couple of issues.

  1. Its impossible to remove the height and width. Specifying them makes it difficult to meet resizing criteria of WCAG2.2 https://www.w3.org/WAI/WCAG22/Understanding/resize-text
  2. Responsive looks like it would remove them, but it still renders them.
  3. If you empty the fields and click responsive you can't submit the form and don't have any feedback as to why because the required fields are visually hidden by state.

Steps to reproduce

Proposed resolution

- Allow height and width to be empty. Providers should skip rendering them if they're empty.
- Probably also always don't render them if responsive is checked.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States neclimdul Houston, TX

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @neclimdul
  • πŸ‡ΊπŸ‡ΈUnited States neclimdul Houston, TX

    Set this to 2.x because that's where I've tested this. Looking at the code this seems to behave identically in the 3.x branch but I don't a have site available to test it at the moment.

Production build 0.71.5 2024