<a name="xyz"> vs <h1 id="xyz">text</h1>

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
ruthhoward
Sr. Propeller Head
Posts: 121
Joined: Tue Jul 24, 2012 12:38 am

<a name="xyz"> vs <h1 id="xyz">text</h1>

Post by ruthhoward »

Apparently using anchors <a> to define targets for hyperlinks (<a name="xyz"></a>) is outmoded:

http://www.w3.org/TR/html5-diff/#changed-attributes

However, when you add a bookmark in Flare it adds an <a name="xyz"></a>.

Further, if your HTML contains any id definitions (in header or table elements for example) these are not seen in the bookmarks list for a target topic when you're creating a hyperlink.

I've migrated a large help set into Flare. We had started to transition from <a name> to <h1 id> in order to properly comply with HTML5 but Flare doesn't seem to support that.

Does anyone have any advice?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: <a name="xyz"> vs <h1 id="xyz">text</h1>

Post by LTinker68 »

Flare's HTML5 isn't "real" HTML5, from what I understand, so HTML5 "standards" aren't necessarily in place or enforced in Flare. Especially since not all browsers support "real" HTML5 output. Perhaps down the road Flare will implement it, but for now they're apparently sticking with the name model. Flare uses some CSS3 styles in its HTML5 stylesheet, which are only seen in a few browsers. Other than that, HTML5 for Flare is really just talking about an online output that isn't in a frameset.

You can submit a feature request at https://www.madcapsoftware.com/feedback ... quest.aspx.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: <a name="xyz"> vs <h1 id="xyz">text</h1>

Post by NorthEast »

I've no advice, but that's a really good point - for anchor (a) tags, the name attribute is deprecated in XHTML and HTML5, so it shouldn't be used going forward. (Or only in WebHelp, not HTML5 help)

Flare needs to support IDs for hyperlinks and cross-references, and when inserting bookmarks.

I'll put in a feature request too.
ruthhoward
Sr. Propeller Head
Posts: 121
Joined: Tue Jul 24, 2012 12:38 am

Re: <a name="xyz"> vs <h1 id="xyz">text</h1>

Post by ruthhoward »

Thanks Dave!
clxmichelle
Propeller Head
Posts: 10
Joined: Thu Jun 07, 2012 12:59 pm

Re: <a name="xyz"> vs <h1 id="xyz">text</h1>

Post by clxmichelle »

I talked to their support, and they put in another request. Perhaps if enough people do, then v10 will comply with the standard. :)
~michelle
fchapman42
Jr. Propeller Head
Posts: 9
Joined: Thu Jul 19, 2012 12:22 pm

Re: <a name="xyz"> vs <h1 id="xyz">text</h1>

Post by fchapman42 »

I've just started using Flare - love the new "Clean XHTML" format but am horrified by the number of error messages you get when you paste the output into a validator. The use of this obsolete attribute being one of the main culprits.

Have sent them feedback.
Post Reply