Uncheck block "display title" by default

Created on 26 September 2017, over 7 years ago
Updated 24 June 2024, 12 months ago

Problem/Motivation

While watching the driesnote in Vienna, a few of us noticed for certain blocks such as user login block placed the hide title was unchecked while placing a block.

Steps to reproduce

1. go to admin/structure/block
2. Place Block to (e.g.) Content area
3. Place the User login block
4. Display title -checkbox is CHECKED

When posted see the video for reference (placeholder):
https://events.drupal.org/vienna2017/driesnote

Watch the "DrupalCon Vienna 2017: Driesnote" video on this issue from here:

https://youtu.be/viNU2wOKIUk?t=48m31s

Notice specifically how Dries deselects the "Display Title" checkbox for the "Latest Breakfast" block (48:53) and for the "Latest Dessert" block (49:07)

Proposed resolution

Disable the "Display title" checkbox by default.

Issue โœจ Add option for visually-hidden block titles Needs work aims to address accessibility improvements, and those are out-of-scope of this issue per accessibility review done by @andrewmacpherson and noted by @ifrik.

Screenshots

Remaining tasks

User interface changes

The checkbox will be disabled by default.

API changes

None

Data model changes

๐Ÿ› Bug report
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Blockย  โ†’

Last updated 3 days ago

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada joelpittet Vancouver

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

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Accessibility

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

  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mlncn Minneapolis, MN, USA

    As both a module maker and a site builderโ€”with frighteningly close to an equal (large) number of eachโ€”let me weigh in heavily on the side of the sitebuilder here and let us please make no title the default, and module maintainers who want titles to be shown for their blocks by default should affirmatively add it.

  • ๐Ÿ‡ฉ๐Ÿ‡ชGermany Anybody Porta Westfalica

    Just ran into this and I think it absolutely makes sense, just like @mlncn said in #88! +1

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia aman_lnwebworks

    Hi @mlncn @anybody

    I have created a patch for your query (No title as the default). And I have also added screenshots where the title value is not default.

    Could you please review it once?

    Thank you!

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Fixes should be in MRs and probably needs test coverage as a bug

  • Pipeline finished with Failed
    3 months ago
    Total: 98s
    #456718
  • Pipeline finished with Failed
    3 months ago
    Total: 727s
    #456724
  • Pipeline finished with Failed
    3 months ago
    Total: 652s
    #456749
  • First commit to issue fork.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia niranjan_panem Gurugram

    Modified the label_display value to '0'.

    below is the patch link.
    Patch. โ†’

  • Pipeline finished with Canceled
    4 days ago
    Total: 19787s
    #514900
  • Pipeline finished with Failed
    4 days ago
    Total: 190s
    #515141
  • Pipeline finished with Failed
    4 days ago
    Total: 428s
    #515142
  • First commit to issue fork.
Production build 0.71.5 2024