I need to have the names sometimes. Formatting the CSS, will not remove the validation issue that h4 makes. I need to change the tag to something else, like a p tag or div if it is possible.
This is crucial. This means that when implementing contour, the customer will get a validation error, because it is not possible to change to another tag. And not filling out fields to avoid the error.
E883[WCAG v2 1.3.1 (A)] Nest headings properly (H1 > H2 > H3Heading elements must be ordered properly. For example, H2 elements should follow H1 elements, H3 elements should follow H2 elements, etc. Developers should not skip levels or use headings for presentation effects. See http://www.w3.org/TR/WCAG20-TECHS/F43.html (displayed in new window)
Just updated this in the maintenance release coming this week, added an additional property on the form macro you can set if you wish to change the default h4 tag
pageName h4
I want to change
<asp:Literal ID="pageName" runat="server" />
because it renders as a h4 tag. How can I do this?
You could just leave the form title and the fieldset title empty. In your template you could just put whatever you want.
Other than that, you can always change the CSS to make it look like whatever you want.
I need to have the names sometimes. Formatting the CSS, will not remove the validation issue that h4 makes. I need to change the tag to something else, like a p tag or div if it is possible.
This is crucial. This means that when implementing contour, the customer will get a validation error, because it is not possible to change to another tag. And not filling out fields to avoid the error.
What does not validate about this anyway, I've just used the w3 validator on a form with the h4 in it and it validates just fine..
I think it's because of this:
E883 [WCAG v2 1.3.1 (A)] Nest headings properly (H1 > H2 > H3 Heading elements must be ordered properly. For example, H2 elements should follow H1 elements, H3 elements should follow H2 elements, etc. Developers should not skip levels or use headings for presentation effects. See http://www.w3.org/TR/WCAG20-TECHS/F43.html (displayed in new window)
Jonas.
Exactly
Comment author was deleted
We'll make this a config option in the next maintenance release
Here's a validator tool for WCAG http://www.totalvalidator.com/validator/Validator
Thanks Tim
Comment author was deleted
Just updated this in the maintenance release coming this week, added an additional property on the form macro you can set if you wish to change the default h4 tag
Cool. Looking foreward. Thanks Tim
is working on a reply...