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: Remove the "parsing" assessment #7418

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/assessments/assessments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { LinksAssessment } from './links/assessments';
import { LiveMultimediaAssessment } from './live-multimedia/assessment';
import { NativeWidgetsAssessment } from './native-widgets/assessment';
import { PageAssessment } from './page/assessment';
import { ParsingAssessment } from './parsing/assessment';
import { PointerMotionAssessment } from './pointer-motion/assessment';
import { PrerecordedMultimediaAssessment } from './prerecorded-multimedia/assessment';
import { RepetitiveContentAssessment } from './repetitive-content/assessment';
Expand All @@ -41,7 +40,6 @@ export const Assessments: AssessmentsProvider = AssessmentsProviderImpl.Create([
TimedEventsAssessment,
ErrorsAssessment,
PageAssessment,
ParsingAssessment,
ImagesAssessment,
LanguageAssessment,
ColorSensoryAssessment,
Expand Down
31 changes: 0 additions & 31 deletions src/assessments/parsing/assessment.tsx

This file was deleted.

82 changes: 0 additions & 82 deletions src/assessments/parsing/test-steps/parsing.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions src/assessments/parsing/test-steps/test-steps.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/common/types/store-data/guidance-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ export const guidanceTags = {
id: 'BEST_PRACTICE',
displayText: 'Best Practice',
},
WCAG_2_2_DEPRECATION: {
id: 'WCAG_2_2',
displayText: 'Deprecated for WCAG 2.2',
},
};

export interface GuidanceLink {
Expand Down
1 change: 1 addition & 0 deletions src/common/types/visualization-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export enum VisualizationType {
AudioVideOnly,
ErrorsAssessment,
TimedEventsAssessment,
// #7418: ParsingAssessment has been removed, but this entry is kept for backwards compatibility
ParsingAssessment,
PrerecordedMultimediaAssessment,
LiveMultimediaAssessment,
Expand Down
2 changes: 1 addition & 1 deletion src/content/guideline-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ export const guidelineMetadata = {
linkName: 'WCAG 4.1.1',
linkTag: 'WCAG_4_1_1',
link: 'https://www.w3.org/WAI/WCAG21/Understanding/parsing.html',
guidanceTags: [guidanceTags.WCAG_2_2_DEPRECATION],
guidanceTags: [],
},
'WCAG 4.1.2': {
number: '4.1.2',
Expand Down
2 changes: 0 additions & 2 deletions src/content/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { liveMultimedia } from './live-multimedia';
import { multimedia } from './multimedia';
import { nativeWidgets } from './native-widgets';
import { page } from './page';
import { parsing } from './parsing';
import { pointerMotion } from './pointer-motion';
import { repetitiveContent } from './repetitive-content';
import { semantics } from './semantics';
Expand All @@ -38,7 +37,6 @@ export const test = {
language,
multimedia,
page,
parsing,
repetitiveContent,
sensory,
semantics,
Expand Down
63 changes: 0 additions & 63 deletions src/content/test/parsing/guidance.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/content/test/parsing/index.ts

This file was deleted.

Loading
Loading