Problem/Motivation

The Authored on field in the vertical tabs needs a fieldset. The two date inputs are disjointed with a wrapper explaining the semantic relationship between them

Screenshot of the add node form with the code inspector open. It shows the two inputs without a fieldset wrapper.

This issue was raised during the Minnesota (Drupal Camp Twin Cities) accessibility study: https://groups.drupal.org/node/311503

Proposed resolution

Wrap the two form elements in a fieldset. The fieldset should have a legend with a label that indicates that together, these form items describe the date and time that the node as authored on.

Remaining tasks

Fix it.

User interface changes

A fieldset will be added.

API changes

None.

None.

Original report by @jessebeach

Comments

Bojhan’s picture

Can we use the hidden styling for this? Having another grouping pattern in such a small area, will likely create orientation issues - which already struggle with quite a lot in the sidebar. See https://drupal.org/node/1087100 for more recommendations around this.

nod_’s picture

isn't that what datetime-local input type is for? instead of having 2 fields.

nod_’s picture

swentel’s picture

jessebeach’s picture

Status: Active » Closed (duplicate)

swentel re:#4, yes, I'll close this one as a duplicate.

Duplicate of #1918994: Improve Datetime and Daterange Widget accessibility