Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Criteria notes are not shown #522

Open
MarkoTodorovicFFG opened this issue Jul 28, 2021 · 0 comments
Open

Criteria notes are not shown #522

MarkoTodorovicFFG opened this issue Jul 28, 2021 · 0 comments

Comments

@MarkoTodorovicFFG
Copy link

There are notes defined in WCAG (e.g. here https://www.w3.org/TR/WCAG21/#keyboard) and in wcag2-en.json, but the notes aren't shown when criterion text is toggled in step 4.

There is a typo in /app/views/directives/successCriterion.html which prevents this:

<p ng-if="details.type === 'note'">
<em>{{ "AUDIT.NOTE" | translate }}:</em> {{ details.text}}
</p>

should be changed to:

<p ng-if="detail.type === 'note'">
<em>{{ "AUDIT.NOTE" | translate }}:</em> {{ detail.text}}
</p>

("details" to "detail")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants