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

fix(language-selector): added clear label attribute #4914

Merged

Conversation

IgnacioBecerra
Copy link
Contributor

@IgnacioBecerra IgnacioBecerra commented Jan 15, 2021

Related Ticket(s)

#4889

Description

The component now has the role of edit combo to ensure the screen readers convey its purpose to the users. The clear button also lacked a label to convey functionality upon click/enter.

Changelog

New

  • added clear button label property

@IgnacioBecerra IgnacioBecerra added the package: web components Work necessary for the IBM.com Library web components package label Jan 15, 2021
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 15, 2021

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @IgnacioBecerra thank you for trying to fix this - Would you want to try fixing this directly in carbon-web-components unless this needs to be included in v1.15.0?

@IgnacioBecerra
Copy link
Contributor Author

@asudoh Yeah, I think that's a good idea. I don't think we need to get this into the release right away, and besides this is a change that should be coming from ComboBox itself.

@IgnacioBecerra
Copy link
Contributor Author

There was a button label attribute for ComboBox, so that addition can be reflected on our side.

@IgnacioBecerra IgnacioBecerra changed the title fix(language-selector): improved accessibility fix(language-selector): added clear label attribute Jan 20, 2021
Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 - Thanks @IgnacioBecerra for the update!

@jeffchew jeffchew added the Ready to merge Label for the pull requests that are ready to merge label Jan 21, 2021
@kodiakhq kodiakhq bot merged commit cce42f4 into carbon-design-system:master Jan 21, 2021
IgnacioBecerra added a commit to IgnacioBecerra/ibm-dotcom-library that referenced this pull request Feb 22, 2021
…stem#4914)

### Related Ticket(s)
carbon-design-system#4889

### Description

The component now has the role of `edit combo` to ensure the screen readers convey its purpose to the users. The clear button also lacked a label to convey functionality upon click/enter. 

### Changelog

**New**

- added clear button label property

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: web components Work necessary for the IBM.com Library web components package Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants