question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[a11y] Typo in @angular/cdk/a11y package breaks build

See original GitHub issue

Reproduction

Steps to reproduce:

  1. npm i @angular/cdk
  2. Open node_modules/@angular/cdk/bundles/cdk-a11y.umd.js
  3. There you will find the following piece of code:

...((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || {}, global.ng.cdk.a11Y = {}), global.ng.common, ....

Especially the UMD ID global.ng.cdk.a11Y is wrong, since every other module of the @angular/cdk or @angular/material framework looks for an UMD ID of global.ng.cdk.a11y (small writte ‘y’)

Expected Behavior

What behavior were you expecting to see?

UMD ID of global.ng.cdk.a11y

Actual Behavior

What behavior did you actually see?

UMD ID of global.ng.cdk.a11Y

Environment

  • CDK/Material: 9.1.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
devversioncommented, Mar 2, 2020

@flash-me Thanks for the issue! I’ve looked into it and it looks like a bug in @angular/bazel. I’ve created a fix for it in https://github.com/angular/angular/pull/35792.

0reactions
angular-automatic-lock-bot[bot]commented, Apr 2, 2020

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessibility - Angular Material
The cdk/a11y package provides a Sass mixin that lets you define styles that only apply in high contrast mode. To create a high...
Read more >
Angular CDK — getting started — Accessibility & A11y
We will, with this article, get started with the first behavior of the list, the Accessibility package. Accessibility & A11y. Basically, ...
Read more >
@angular/material-moment-adapter | Yarn - Package Manager
Investigating and fixing reported regressions for the new components launched in v15; Creating a new more flexible theming API in collaboration with MDC...
Read more >
Doing A11y Easily with Angular CDK. Keyboard ... - Morioh
Doing A11y Easily with Angular CDK. Keyboard-Navigable Lists. When web applications are properly designed and coded the users of assistive technologies can ...
Read more >
Build more accessible Angular apps - Google Codelabs
Add ARIA support for screen readers; Import and use the Angular CDK a11y package; Use FocusTrap for custom component screen-reader navigation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found