Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johan Roug 97 posts 153 karma points
    Sep 27, 2010 @ 16:55
    Johan Roug
    0

    pageName h4

    I want to change

    <asp:Literal ID="pageName" runat="server" />

    because it renders as a h4 tag. How can I do this?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 27, 2010 @ 17:48
    Sebastiaan Janssen
    2

    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.

  • Johan Roug 97 posts 153 karma points
    Sep 28, 2010 @ 00:02
    Johan Roug
    0

    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.

     

  • Johan Roug 97 posts 153 karma points
    Sep 28, 2010 @ 09:34
    Johan Roug
    0

    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.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Sep 30, 2010 @ 09:45
    Sebastiaan Janssen
    0

    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..

  • Jonas Eriksson 930 posts 1825 karma points
    Sep 30, 2010 @ 09:49
    Jonas Eriksson
    0

    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)

  • Johan Roug 97 posts 153 karma points
    Sep 30, 2010 @ 15:36
    Johan Roug
    0

    Jonas.

    Exactly

  • Comment author was deleted

    Sep 30, 2010 @ 16:59

    We'll make this a config option in the next maintenance release

  • Jonas Eriksson 930 posts 1825 karma points
    Sep 30, 2010 @ 18:03
    Jonas Eriksson
    0

    Here's a validator tool for WCAG http://www.totalvalidator.com/validator/Validator 

  • Johan Roug 97 posts 153 karma points
    Sep 30, 2010 @ 18:49
    Johan Roug
    0

    Thanks Tim

  • Comment author was deleted

    Nov 16, 2010 @ 13:06

    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

  • Johan Roug 97 posts 153 karma points
    Nov 16, 2010 @ 21:24
    Johan Roug
    0

    Cool. Looking foreward. Thanks Tim

Please Sign in or register to post replies

Write your reply to:

Draft