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

Ensures every HTML document has a lang attribute: A11y_Desired State Configuration v3 (resource list operation, specificaly)_Resource list operation table_AI4W #613

Open
3 tasks done
Roopesh-T opened this issue Dec 12, 2024 · 0 comments
Labels
Issue-Bug Something isn't working Need-Review

Comments

@Roopesh-T
Copy link

Roopesh-T commented Dec 12, 2024

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Summary

HTML page which is generated by the PowerShell command is not having the lang attribute

Steps to reproduce

Pre-requisite:

  • Download the DSC file.
  • Download the browser extension Accessibility insights for web.

Steps:

  1. Press win+s and search for power shell
  2. Run this command
  3. Run this command resource list -o json | convertfrom-json | ConvertTo-Html | Out-File \test.html
  4. open the HTML file, which is saved, file will open in web.
  5. Run the Accessibility insights for web extension fast pass.

Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.

GitHub Tags:

#A11yAuto; #AI4W;#A11yMAS; #A11yTCS; #Win11; #DesktopApp; #A11ySev2; #SH_Desired State Configuration v3 (resource list operation, specificaly)_Web_Dec2024; #DesiredStateConfiguration; #WCAG3.1.1; #Labels or Instructions; #FTP; #Win32;Win11;

Expected behavior

## How to fix: 
Fix any of the following:
  The <html> element does not have a lang attribute

Actual behavior

Issue:
Ensures every HTML document has a lang attribute (html-has-lang - https://accessibilityinsights.io/info-examples/web/html-has-lang)

Target application: HTML TABLE - file:///C:/Users/v-roopesht/Downloads/DSC-3.0.0-preview.12-x86_64-pc-windows-msvc/location/test.html

Element path: html

Snippet: <html xmlns="http://www.w3.org/1999/xhtml">

Error details

No response

Environment data

Environment: Microsoft Edge version 131.0.0.0

====

This accessibility issue was found using Accessibility Insights for Web 2.44.0 (axe-core 4.9.1), a tool that helps find and fix accessibility issues. Get more information & download this tool at http://aka.ms/AccessibilityInsights.

Version

DSC-3.0.0-preview.12

Visuals

image

@Roopesh-T Roopesh-T added Issue-Bug Something isn't working Need-Review labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Need-Review
Projects
None yet
Development

No branches or pull requests

1 participant