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

Criteria notes are not shown #522

@MarkoTodorovicFFG

Description

@MarkoTodorovicFFG

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions