Would it be possible to change the HTML markup around text fields? Currently Ebase adds a <span> around a text field (using bootstrap framework) which means that we cannot then have any valid tags within the <span>.
For example, if we want to make some text a title by adding the h1 tag we type <h1>Title</h1> ino the text field. This produces the following HTML (which is invalid and fails validation checks) <span><h1>Title</h1></span>.
We can get around the issue by creating a h1 css class and apply that to the text control but that's a bit of a hack and isn't ideal for accessibility and screen readers.
Thanks
Text Fields Adding <span>
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Re: Text Fields Adding <span>
I've raised a bug for this internally. We may be able to change the span to an inline div. But I'm interested in the impact of this problem - do you see any errors or problems reported anywhere? Most browsers seem to swallow this situation without even raising warning messages. For interest, bootstrap includes a number of h1, h2 etc classes - the same as you suggest - so this seems to be an entirely legitimate technique.
0 x
Who is online
Users browsing this forum: No registered users and 3 guests