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(react): remove unnecessary title for icon description #11490

Merged
merged 3 commits into from
May 31, 2022

Conversation

abbeyhrt
Copy link
Contributor

REF #11444

Removes unnecessary title in IconElement in OverflowMenu. It was causing this violation in AC checker:

Screen Shot 2022-05-25 at 3 20 52 PM

Because it seemed to be sensing the title as the visible title for OverflowMenu and so the aria-label for OverflowMenu doesn't match. I could have updated the ariaLabel in the story to match but the way the violation worked, ariaLabel and iconDescription would always need to match which doesn't make sense.

As far as I can tell the title wasn't doing anything. The icon is already aria labelled through iconDescription and that is read by VO. I was unable to get the title to be read and so it seemed unnecessary.

Changelog

New

  • {{new thing}}

Changed

  • {{change thing}}

Removed

  • {{removed thing}}

Testing / Reviewing

Verify that OverflowMenu has no violations in AC checker and is read by VO correctly.

@abbeyhrt abbeyhrt requested a review from a team as a code owner May 25, 2022 20:52
@abbeyhrt abbeyhrt requested review from aledavila and dakahn May 25, 2022 20:52
@netlify
Copy link

netlify bot commented May 25, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b896a73
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/629634dff16e6d00085ea7fa
😎 Deploy Preview https://deploy-preview-11490--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented May 25, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit b896a73
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/629634df3e3dbf00090133dc
😎 Deploy Preview https://deploy-preview-11490--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@kodiakhq kodiakhq bot merged commit 1f1b70a into carbon-design-system:main May 31, 2022
kennylam pushed a commit to kennylam/carbon that referenced this pull request Jul 30, 2024
…design-system#11532)

### Related Ticket(s)

Closes carbon-design-system#11490

### Description

In Date picker element, dev tool console shows error `Uncaught TypeError: fp.getDateStr is not a function`.

### Changelog

**Removed**

- Removed custom event handling function.

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "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
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants