# WCAG - audit

{% hint style="warning" %}
The availability of the functionality depends on the license and may not be available in all deployments.
{% endhint %}

## Audit

Module **Audit** allows previewing violations located in the currently processed request. Violations may concern the request’s compliance with WCAG requirements or the request’s compliance with Eximee functionalities.

They have been divided into 3 categories:

* **Violations** - marked **with a red** warning icon. They indicate that an error detected in the request causes a violation of WCAG rules or the correct use of Eximee functionalities.
* **Suggestions** - marked **with a blue** information icon. They show tips for improving the created request, not necessarily being an error.
* **Obsolescences** - marked **with a blue** warning icon. They indicate that the functionality used is no longer supported and suggest using a new, supported Eximee solution.

{% hint style="warning" %}
The request analysis itself is based on the last saved draft version, so if we make changes to the request and the draft does not have time to save, our analysis will not include the added modifications!!
{% endhint %}

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2F7vWwAIYF2UqfxQISiyYV%2Fimage.png?alt=media&#x26;token=90141471-4533-4de6-b927-185b5a86eeb5" alt=""><figcaption><p><em><strong>Figure 1.</strong></em> <em>List of request violations in read-only mode</em></p></figcaption></figure>

## Violations

### EXIMEE violation | Tooltip <a href="#title-text" id="title-text"></a>

**Level**: Obsolescence

**Occurrence**: Contextual help (Tooltip)

**Component documentation:** [Contextual help (tooltip)](https://github.com/Consdata/eximee-docs/blob/main/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/pomoc-kontekstowa-tooltipbutton.md)

**Reason**: Using the tooltipTextKey attribute may cause problems with displaying contextual help if its visibility is set conditionally.

**Validation method:** Check whether the tooltipTextKey attribute is filled in and whether the translation key assigned to it has been populated in the *Translations* request tab.

### WCAG violation 1.1.1 (A) | Image <a href="#title-text" id="title-text"></a>

**Level**: Violation

**Occurrence**: Image (GesImage)

**Component documentation**: [Image - Image](https://github.com/Consdata/eximee-docs/blob/main/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/obraz-image.md)

**Reason**: Text alternative - violation. All non-text content presented to the user has its own text alternative that serves the same function. Each image should have the alt attribute filled in, which is read by screen readers when focused.

**Validation method:** Check whether the component has the display mode "Informational" and the filled value "Text to display when the URL is invalid" or "Text to display when the URL is invalid (key)".<br>

### WCAG violation 1.3.1 (A) | Label

**Level**: Violation

**Occurrence**: Label(GesText)

**Component documentation:** [Label - Text](https://github.com/Consdata/eximee-docs/blob/main/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/etykieta-text.md)

**Reason**: Information, structure, and relationships between content conveyed through presentation can be programmatically read or exist in text form. Each label should be associated with a form field or displayed as a paragraph (\<p>\</p>) instead of as a label (\<label>\</label>)

**Validation method:** Check whether the component has the property "Display as paragraph" selected or whether it has the field "Field associated with label" filled in.

### WCAG violation 1.4.13 (AA) | Tooltip <a href="#title-text" id="title-text"></a>

**Level**: Violation

**Occurrence**: Contextual help (Tooltip)

**Component documentation:** [Contextual help (tooltip)](https://github.com/Consdata/eximee-docs/blob/main/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/pomoc-kontekstowa-tooltipbutton.md)

**Reason**: If hovering with the mouse can trigger additional content, then the cursor can be moved over the additional content without it disappearing. In our system, this functionality is enabled by interactive contextual help.

**Validation method:** Check whether the component has interactive contextual help enabled in the component properties.
