w3c / wcag2ict

WCAG2ICT deliverable of Accessibility Guidelines WG
https://wcag2ict.netlify.app/
Other
24 stars 4 forks source link

Principles and Guidelines say "undefined" #514

Closed mitchellevan closed 2 months ago

mitchellevan commented 2 months ago

Current behavior

This issue is occurring today in the editor's draft.

For the Principles and the Guidelines, the word "undefined" is appearing between the name and the description.

Example:

1. Perceivable undefined Information and user interface components must be presentable to users in ways they can perceive.

Screenshot of the example:

Screenshot of the example

The Criteria do not have this issue, because text such as "(Level A)" is appearing as expected in the Criteria.

Expected behavior

For the Principles and Guidelines, there should be no text between the name and the description.

For the Criteria, text such as "(Level A)" should appear as it currently does.

mitchellevan commented 2 months ago

Hi @daniel-montalvo, please note this new issue. I'm guessing it's related to #507.

maryjom commented 2 months ago

@daniel-montalvo looks like some additional script or checking in the script would be needed to only be looking for and inserting a level if it is an SC, and not for principles and guidelines.