Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Le multiselect select2 n'est pas accessible (interfaces agent) #4375

Open
francois-ferrandis opened this issue Jun 26, 2024 · 0 comments
Open

Comments

@francois-ferrandis
Copy link
Contributor

francois-ferrandis commented Jun 26, 2024

ℹ️ Contexte

La librairie JS que nous utilisons pour avoir des select avec filtre n'est pas accessible

Exemple :
image

❓ Définition du problème

L'usage de cette librairie est un frein à l'accessibilité côté agent

💡 Solution envisagée

Des pistes :

🧪 Scénarios de test

  it "admin organisation users path is accessible" do
    territory = create(:territory, departement_number: "75")
    organisation = create(:organisation, territory: territory)
    create_list(:user, 3, organisations: [organisation])
    agent = create(:agent, email: "totoagent@example.com", basic_role_in_organisations: [organisation])
    login_as(agent, scope: :agent)

    path = admin_organisation_users_path(organisation)
    expect_page_to_be_axe_clean(path)
  end

  it "RDV list is accessible" do
    territory = create(:territory, departement_number: "75")
    organisation = create(:organisation, territory: territory)
    agent = create(:agent, email: "totoagent@example.com", basic_role_in_organisations: [organisation])
    login_as(agent, scope: :agent)
    create_list(:rdv, 3, agents: [agent])
    expect_page_to_be_axe_clean(admin_organisation_rdvs_path(organisation))
  end
francois-ferrandis added a commit that referenced this issue Jul 2, 2024
* Remove xitted spec and create issue #4375

* Change spec, improve coverage, lose info, ping Victor

* Convert xit specs into #4379

* Remove xitted spec, lose history, ping Victor

* Add cop to forbid pending specs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant