Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #1273 Closes #3848: Allow multiple select menus on the same page #1387

Merged

Conversation

RyanDool
Copy link
Contributor

@RyanDool RyanDool commented Mar 8, 2022

Description

This change makes unique IDs for each select element and adds a reference to that unique ID in the associated label element.

Release notes

This changes the IDs of select menu elements and enhances the accessibility by adding a for element to the markup.

Related Issues

Closes #1273
Closes #3848

How to test

Probo build: https://7b5e2985-cedf-4a13-ab91-3a35916c835d--pr-1387.probo.build/dana

    • Enable the Quickstart select menu module
  1. Add two new "select menu" blocks on the same page
  2. Operate each block independently
  3. Inspect to observe 'for' element on the label and 'id' on the select are the same

Previous reference

See https://user-images.githubusercontent.com/1023167/169171863-e881d394-b837-46d6-9494-bf07c16b4419.mov

Types of changes

Arizona Quickstart (install profile, custom modules, custom theme)

  • Patch release changes
    • Bug fix
    • Accessibility, performance, or security improvement
    • Critical institutional link or brand change
  • Minor release changes
    • New feature
    • Breaking or visual change to existing behavior
    • Non-critical brand change
    • New internal API or API improvement with backwards compatibility
    • Risky or disruptive cleanup to comply with coding standards
    • High-risk or disruptive change (requires upgrade path, risks regression, etc.)
  • Other or unknown

Drupal core

  • Patch release changes
    • Security update
    • Patch level release (non-security bug-fix release)
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major or minor level update
  • Other or unknown

Drupal contrib projects

  • Patch release changes
    • Security update
    • Patch or minor level update
    • Add new module
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major level update
  • Other or unknown

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

smayden and others added 25 commits May 18, 2022 14:26
…exity (#1345)

Co-authored-by: Joe Parsons <[email protected]>
Co-authored-by: Dana Hertzberg <[email protected]>
…reaking az_global_footer install on migrated sites. (#1391)

* Fixes #1385: Add patch for media_migation module issue breaking az_global_footer install on migrated sites.
@danahertzberg
Copy link
Contributor

Consider adding this issue into this PR as well
#3848

@danahertzberg danahertzberg changed the title Closes #1273 Allow multiple select menus on the same page. Closes #1273 Closes #3848: Allow multiple select menus on the same page Oct 31, 2024
@trackleft
Copy link
Member

This looks good to me, nice work!

@danahertzberg danahertzberg self-assigned this Nov 5, 2024
@bberndt-uaz bberndt-uaz added patch release Issues to be included in the next patch release 2.12.x only labels Nov 6, 2024
@bberndt-uaz bberndt-uaz merged commit 26e686d into main Nov 6, 2024
16 checks passed
@bberndt-uaz bberndt-uaz deleted the issue/1273-az-select-menu-to-support-more-than-one-instance branch November 6, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.12.x only accessibility bug Something isn't working enhancement New feature or request patch release Issues to be included in the next patch release
Projects
Status: Done