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

Überschriftenhierarchie bei Shortcodes im Contentbereich #6

Closed
xwolfde opened this issue Jul 15, 2022 · 0 comments
Closed

Überschriftenhierarchie bei Shortcodes im Contentbereich #6

xwolfde opened this issue Jul 15, 2022 · 0 comments
Assignees
Labels
Umsetzungshinweis Hinweise zur Umsetzung (Programmierung oder Design)

Comments

@xwolfde
Copy link
Member

xwolfde commented Jul 15, 2022

Bei dem alten Plugin beginnen wir standardgemäß mit einer h3 -Überschrift , die auf den Namen gesetzt ist.
Das ist normalerweise auch gut und richtig, weil man normalerweise vor einer Namensliste noch Überschrift in h2 hat wie zum Beispiel "Unsere Ansprechpartner".

Nun gibt es aber Fälle, wo so etwas nicht gemacht wird, sondern wo, wie in diesem Beispiel die Visitenkarte als Teil des Textes genutzt wird. In dem Fall dann ohne h2 Überschrift. Man kann zwar mit hstart="2" das korigieren, aber in der Praxis tut das kaum wer. Und dann haben wir eine semantisch falsche Reihenfolge.

grafik

Für das FAUdir Plugin wird daher gewünscht, dass die Titel (die Fullnames) nicht mehr mit h-Überschriften gesetzt werden, sondern per default mit

.
Hierzu ist der jeweilige Kontakteintrag zusätzlich in einer <section aria-label="$Fullname">...</section> zu stellen.

Ausnahmen sind Listen und Tabellenansichten mehrerern Personen. Hier ist die Überschrift nicht Personenbezogen zu setzen, sondern auf den gesamten Bereich. Vgl #32 .

@xwolfde xwolfde added the enhancement New feature or request label Aug 2, 2022
@thenickless thenickless transferred this issue from RRZE-Webteam/fau-person Sep 20, 2022
@xwolfde xwolfde self-assigned this May 2, 2024
@xwolfde xwolfde transferred this issue from RRZE-Webteam/rrze-contact May 2, 2024
@xwolfde xwolfde removed their assignment May 2, 2024
@xwolfde xwolfde added the Alt-Issue Issue wurde vom alten Kontakte-Plugin übernommen label Jul 4, 2024
@xwolfde xwolfde added this to the V1.0 - Grundfunktionalitäten milestone Jul 10, 2024
@xwolfde xwolfde added Umsetzungshinweis Hinweise zur Umsetzung (Programmierung oder Design) and removed enhancement New feature or request Alt-Issue Issue wurde vom alten Kontakte-Plugin übernommen labels Jul 10, 2024
@RRZE-Webteam RRZE-Webteam deleted a comment from thenickless Jul 10, 2024
@RRZE-Webteam RRZE-Webteam deleted a comment from thenickless Jul 10, 2024
debokshi pushed a commit that referenced this issue Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Umsetzungshinweis Hinweise zur Umsetzung (Programmierung oder Design)
Projects
None yet
Development

No branches or pull requests

2 participants