mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove JS lecture (#57227)
This commit is contained in:
-4
@@ -85,10 +85,6 @@
|
||||
{
|
||||
"id": "673369829e232835c2732656",
|
||||
"title": "How Do You Open and Close Dialog Elements Using JavaScript?"
|
||||
},
|
||||
{
|
||||
"id": "673369903d9f7935ede72d11",
|
||||
"title": "What Are Some Ways to Make Your JavaScript Code More Accessible?"
|
||||
}
|
||||
],
|
||||
"helpCategory": "JavaScript"
|
||||
|
||||
-121
@@ -1,121 +0,0 @@
|
||||
---
|
||||
id: 673369903d9f7935ede72d11
|
||||
title: What Are Some Ways to Make Your JavaScript Code More Accessible?
|
||||
challengeType: 11
|
||||
videoId: nVAaxZ34khk
|
||||
dashedName: what-are-some-ways-to-make-your-javascript-code-more-accessible
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Watch the lecture video and answer the questions below.
|
||||
|
||||
# --questions--
|
||||
|
||||
## --text--
|
||||
|
||||
What is the purpose of using semantic HTML elements in accessible JavaScript code?
|
||||
|
||||
## --answers--
|
||||
|
||||
To improve the visual appearance of the page.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Semantic HTML elements provide meaning and structure to the content, which can be helpful for assistive technologies.
|
||||
|
||||
---
|
||||
|
||||
To prevent cross-site scripting (XSS) attacks.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Semantic HTML elements provide meaning and structure to the content, which can be helpful for assistive technologies.
|
||||
|
||||
---
|
||||
|
||||
To help assistive technologies like screen readers understand the content better.
|
||||
|
||||
---
|
||||
|
||||
To reduce the file size of the HTML document.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Semantic HTML elements provide meaning and structure to the content, which can be helpful for assistive technologies.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
## --text--
|
||||
|
||||
Why is it important to manage keyboard focus appropriately in accessible JavaScript code?
|
||||
|
||||
## --answers--
|
||||
|
||||
To improve search engine optimization (SEO).
|
||||
|
||||
### --feedback--
|
||||
|
||||
Focus management is crucial for users who navigate through web applications using the keyboard.
|
||||
|
||||
---
|
||||
|
||||
To comply with data privacy regulations.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Focus management is crucial for users who navigate through web applications using the keyboard.
|
||||
|
||||
---
|
||||
|
||||
To support users who rely on keyboard navigation instead of a mouse.
|
||||
|
||||
---
|
||||
|
||||
To enhance the website's branding and visuals.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Focus management is crucial for users who navigate through web applications using the keyboard.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
3
|
||||
|
||||
## --text--
|
||||
|
||||
What is the purpose of using ARIA live regions in accessible JavaScript code?
|
||||
|
||||
## --answers--
|
||||
|
||||
To improve search engine rankings.
|
||||
|
||||
### --feedback--
|
||||
|
||||
ARIA live regions help announce updates to specific areas of the page, which is important for users with disabilities.
|
||||
|
||||
---
|
||||
|
||||
To announce dynamic content changes to screen readers and assistive technologies.
|
||||
|
||||
---
|
||||
|
||||
To enhance website performance and speed.
|
||||
|
||||
### --feedback--
|
||||
|
||||
ARIA live regions help announce updates to specific areas of the page, which is important for users with disabilities.
|
||||
|
||||
---
|
||||
|
||||
To comply with data privacy regulations.
|
||||
|
||||
### --feedback--
|
||||
|
||||
ARIA live regions help announce updates to specific areas of the page, which is important for users with disabilities.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
Reference in New Issue
Block a user