1rosehip / 1rosehip/jplist-es6

Option to use disabled attribute instead of class

Abierto
#58 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
83
Forks
37
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hello!

I'm curious if it would be possible to have an option to add the disabled attribute rather than a disabled class. Reason being, you can easily key styles off of the disabled attribute, but it also comes with the benefit of better accessibility when you use the attribute.

Thoughts?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Look for where jPList adds the 'disabled' class to HTML elements, likely in the core library files. Check if there's a configuration option for attributes. The change involves modifying the logic to optionally set a 'disabled' attribute instead of or in addition to the class. Test by applying the library to a sample HTML structure and verifying the attribute appears.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
css, html, javascript
Área
accessibility, frontend
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
40/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.