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

fix: add a11y features to input password #1232

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

Fupete
Copy link
Contributor

@Fupete Fupete commented Sep 30, 2024

fix: #1216

Obiettivi:

  • rendere accessibile il pulsante per visualizzare la password inserita;
  • verificare utilità e rischi, e opportunità di miglioramento e accessibilità, della variante con strength-meter;
  • verificare documentazione.

Copy link

vercel bot commented Sep 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bootstrap-italia ✅ Ready (Inspect) Visit Preview Oct 1, 2024 8:41am

@Fupete Fupete force-pushed the 1216-componente-input-indagare-ulteriormente-la-variante-password-navigando-da-tastiera-o-con-screen-reader branch from b4ec891 to bbbe4b4 Compare October 1, 2024 08:35
…-la-variante-password-navigando-da-tastiera-o-con-screen-reader

_getCompletedRequirements(password) {
const requirements = [
{ test: password.length >= 8, description: 'Almeno 8 caratteri.' },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@astagi due to do secondo me:

  1. C'è da capire se e come spostare le description di questi requirements nei Default iniziali. E se dare la possibilità di cambiarli da data-bs.
  2. C'è da capire se dare la possibilità di mostrare anche a video questi requirement soddisfatti o no in tempo reale. Se lasciarli come in questa versione solo per screen reader. O se metterli come opzione mostrati a vice magari usando un default.showStrengthSuggestions true/false.
  3. C'è da capire se incorporare così i requirements (come già oggi), sia corretto... o sia meglio lasciare allo sviluppatore e qui lasciare solo la parte visiva. O integrare un plugin node nuovo, da trovare.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⬆️ Solo appunti di alcune cose che dovremo discutere al prox hands-on.

@Fupete Fupete self-assigned this Oct 1, 2024
@Fupete Fupete added a11y Issue e PR riguardanti accessibilità e dintorni enhancement bug Issue e PR su problemi di funzionamento della libreria labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Issue e PR riguardanti accessibilità e dintorni bug Issue e PR su problemi di funzionamento della libreria enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Componente Input: indagare ulteriormente la variante Password navigando da tastiera o con screen reader
2 participants