e2e-test-quest / e2e-test-quest/uuv

[assistant] Add suggestion module when detect bad sentences

Open
#706 0 comments 0 reactions 2 assignees Claimed by @luifr10 View on GitHub
assistant enhancement
Dominant language
TypeScript
Stars
157
Forks
16
Avg merge
3d 1h
Merged PRs (30d)
21

Description

# Introduction

We want to offer a LLM-based web accessibility assistant. It must analyze HTML code and must provide suggestions for correcting web accessibility. This tool will help project teams to comply with recognized accessibility standards such as the WCAG (Web Content Accessibility Guidelines), the RGAA (Référentiel Général d'Amélioration de l'Accessibilité) and the RAweb (Référentiel d'Accessibilité Web).

# Main usage
If we want to limit our checks to the block div.
![element we want to check](https://github.com/user-attachments/assets/3339c92d-a933-4af6-8e6b-732013fa06ab)

The warning icon is displayed, it means that an accessibility error has been detected.
We can display an icon to launch the suggestion and display it in the lower pane.

![poc](https://github.com/user-attachments/assets/db19fea9-b902-4ca2-8260-0e9784e101a5)

We can displayed theses fields on a suggestion area:

- HTML lacked field:
```html


Académie Miro


Apprenez et développez vos compétences sur Miro



```

- field HTML field:
```html


Académie Miro


Apprenez et développez vos compétences sur Miro



```

- Explanation field:
```text

```

- WCAG rules
```text

```

- RAWEB rule
```text

```

- RGAA rule
```text

```

# Tasks

- [ ] Technical studies, feasibility studies
- [ ] HTML Analyzer development (the extension of identification of bad practice to enriched the use of warning icon can be studied)
- [ ] Development of Correction Suggestions
- [ ] Integration of Contextual Explanations (tuning IA with context and/or learning from data sets)
- [ ] Development of Compliance Alerts (RGAA/RAWEB/WCAG rules)
- [ ] Mocked Test
- [ ] Documentation available on user guide assistant https://orange-opensource.github.io/uuv/docs/tools/uuv-assistant

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.