WDialog Title as h1
Added by Sascha Broich about 11 years ago
Hello,
is there a way to change the HTML element of the dialog title (caption) from span to h1 and the content to a p?
Because the screen reader ignores the spans and reads only the button.
Regards,
Sascha Broich
Replies (2)
RE: WDialog Title as h1 - Added by Koen Deforche about 11 years ago
Hey,
In the upcoming 3.3.0 we are using h3 for the caption (to align with twitter bootstrap), that should be okay ?
For the body: you can wrap things in a paragraph yourself ?
Regards,
Koen
RE: WDialog Title as h1 - Added by Sascha Broich about 11 years ago
Hello,
this sounds good.
For now I'm doing it by setting the caption to inline and surrounding my text with the
.
Regards,
Sascha Broich