HTML5 Output Structure Changes

 Article #: GEN1029Z  Product: Flare   Version: 2019 r2

Summary:

In order to add the "Skip to Main Content" accessibility feature, a "main" tag was added to the HTML5 top and side navigation outputs. This tag was wrapped around all elements within the applied Masterpage, including breadcrumbs, menu proxies, etc, this would prevent the function from behaving as a true "Skip to Main Content" as the end user would need to tab through the aforementioned elements before getting to the actual content of the topic.

 

Solution:

In order to address this issue the main tag has been removed from the output, and replaced with a div, with a role attribute value of "main" and an id attribute with the value "mc-main-content" that is wrapped directly around the topic body proxy.

 

Note: In addition to the changes described above, the section.main-section element has been replaced by div.main-section and the div.sidenav-wrapper has been replaced by nav.sidenav-wrapper. These changes may require you to adjust any custom code that may have been affected by the change in these elements.

If you encounter any issues regarding these, or any other changes in the output structure please contact MadCap Software technical support via telephone 1(888)623-2271 or email, here.

 

Attribution:

Last updated:

December 12, 2019

Author:

Steven Moreno

Contributions by:

MadCap QA