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

Missing example code for accessibility best practices case study #55583

Closed
sebastian-nunez opened this issue Apr 29, 2024 · 1 comment
Closed
Labels
area: adev Angular.dev documentation area: docs Related to the documentation P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Milestone

Comments

@sebastian-nunez
Copy link

Describe the problem that you experienced

In the accessibility best practices, the Case study: Building a custom progress bar does not have any example code.

There is an error in the console which may be associated with the preview, I pasted it below.

Enter the URL of the topic with the problem

https://angular.dev/best-practices/a11y#case-study-building-a-custom-progress-bar

Describe what you were looking for in the documentation

The code associate with case study.

Describe the actions that led you to experience the problem

Opened the webpage.

Describe what you want to experience that would fix the problem

I should be able to see the code snippet associated with the case study.

Add a screenshot if that helps illustrate the problem

Screenshot 2024-04-29 at 3 47 11 PM

If this problem caused an exception or error, please paste it here

TypeError: this.previewsComponents[e] is not a function
    at t.loadPreview (main-FOR4QIEM.js:7:521)
    at r.<anonymous> (chunk-DTDHOMFN.js:6:83987)
    at Generator.next (<anonymous>)
    at chunk-J65QSAYV.js:1:1258
    at new c (polyfills-XXUF43KU.js:2:2235)
    at Mw (chunk-J65QSAYV.js:1:1078)
    at r.renderExample (chunk-DTDHOMFN.js:6:83838)
    at r.<anonymous> (chunk-DTDHOMFN.js:6:97150)
    at Generator.next (<anonymous>)
    at chunk-J65QSAYV.js:1:1258


### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
@sebastian-nunez
Copy link
Author

sebastian-nunez commented Apr 29, 2024

Same issue and error appear in Example: Transforming a value exponentially.

image

JeanMeche added a commit to JeanMeche/angular that referenced this issue Apr 29, 2024
docs-code doesn't render when there is no language.

fixes angular#55583
JeanMeche added a commit to JeanMeche/angular that referenced this issue Apr 29, 2024
docs-code doesn't render when there is no language.

fixes angular#55583
JeanMeche added a commit to JeanMeche/angular that referenced this issue Apr 29, 2024
docs-code doesn't render when there is no language.

fixes angular#55583
@thePunderWoman thePunderWoman added the area: docs Related to the documentation label Apr 30, 2024
@ngbot ngbot bot added this to the needsTriage milestone Apr 30, 2024
@bencodezen bencodezen added area: adev Angular.dev documentation P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Apr 30, 2024
@ngbot ngbot bot modified the milestones: needsTriage, Backlog Apr 30, 2024
JeanMeche added a commit to JeanMeche/angular that referenced this issue Apr 30, 2024
preview is hidding was responsible for hidding the content.

fixes angular#55583
AndrewKushnir pushed a commit that referenced this issue May 1, 2024
preview is hidding was responsible for hidding the content.

fixes #55583

PR Close #55584
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: adev Angular.dev documentation area: docs Related to the documentation P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants