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

Un tag "button" non può contenere un attributo "href" #416 #417

Merged
merged 3 commits into from Dec 8, 2019
Merged

Un tag "button" non può contenere un attributo "href" #416 #417

merged 3 commits into from Dec 8, 2019

Conversation

arturu
Copy link
Contributor

@arturu arturu commented Nov 23, 2019

Soluzione proposta per il fix dell'issue #416

Descrizione

Fixes #416
Ho modificato il codice HTML, sia nella documentazione che negli esempi, sostituendo il tag "button" con il tag "a".
Nelle linee di codice modificate ho rimosso 'type=button' (raccomandazioni W3C)
Ho modificato lo stile aggiungendo un selettore e mantenendo il vecchio selettore per retrocompatibilità.
Maggiori dettagli nel diff allegato.

Checklist

arturu and others added 3 commits November 23, 2019 10:18
Ho modificato il selettore in modo che la regola sia applicata solo per il primo nodo figlio.
Nel caso il tema venga utilizzato su un CMS, è possibile che il CMS invii un lista di URL agli utenti loggati. Se non applicata questa modifica il colore di sfondo verrà applicato anche a tutti i nodi figli.
Qui un esempio con la modifica applicata http://arturu.it/test-bi/test/test-patch-button-logged.html
@francescozaia francescozaia merged commit 1b54283 into italia:master Dec 8, 2019
arturu added a commit to italia/design-drupal-theme that referenced this pull request Jan 12, 2022
arturu added a commit to italia/design-drupal-theme that referenced this pull request Jan 12, 2022
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

Successfully merging this pull request may close these issues.

Un tag "button" non può contenere un attributo "href"
2 participants