swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Screen reader does not announce the error information appears while editing the code elements.

Open msftedad opened this issue 8 months ago • 1 comments

Q&A (please complete the following information)

  1. OS: Windows 11
  2. Browsers: Microsoft Edge (Version 135.0.3179.98) and Google Chrome (Version 135.0.7049.115)
  3. Versions: Version 135.0.3179.98 and Version 135.0.7049.115
  4. Method of installation: dist
  5. Swagger-Editor version: 4.0.3
  6. Swagger/OpenAPI Version: Swagger 2.0

Content & configuration

Example Swagger/OpenAPI definition: https://github.com/microsoft/PowerPlatformConnectors/blob/dev/certified-connectors/Nintex%20Workflow/apiDefinition.swagger.json

Swagger-UI configuration options:

SwaggerUI({
  // your config options here
})
?yourQueryStringConfig

Describe the bug you're encountering

To reproduce...

  1. Open URL: https://editor.swagger.io/
  2. Navigate inside the "Code editor" and enter any value.
  3. Verify whether the screen reader announces the error information or not.

Actual Result Screen reader does not announce the error information appears while editing the code elements.

Expected behavior

Screen reader should announce the error information appears while editing the code element Example: Screen reader should announce error information as ' Errors, Resolver error Cannot set properties of undefined (setting 'swagger')' while editing the code elements.

Screenshots

https://github.com/user-attachments/assets/dd4192e9-c1e4-4235-87ef-0bb504a79adb Image

Additional context or thoughts

msftedad avatar May 06 '25 07:05 msftedad

Hi Team, Any update on this issue?

msftedad avatar Nov 12 '25 11:11 msftedad