How to Remove Role Maps and What are Custom Tags (Advanced Editor)

Modified on Thu, 10 Sep at 7:09 PM

Product

Advanced Editor (Web-based CL PDF)


Feature

Tagging


Document Element

Role Maps and Custom Tags


Overview

Often, a PDF's Tags tree contains tags that don't use standard PDF tag names. This is permissible, as long as those custom tags are "role mapped" — associated — to a standard PDF tag.

When a PDF uses custom tags, you have two options: check the role mapping to confirm it's correct and keep the custom tags as they are, or convert the custom tags to whichever standard tag they've been mapped to.


Prerequisites 

Check and address role maps when:

  • The Tags tree contains tags that aren't standard PDF tag names.
  • You're validating a document and want to confirm custom tags are mapped correctly before remediation is considered complete.
  • You want to simplify a Tags tree by converting custom tags to their standard equivalents rather than maintaining custom tag names.


Steps to Follow

Checking and Editing Role Maps

To check (and edit, if needed) the role mapping of custom tags, follow these steps:

  1. Open the Hamburger Menu at the top left, select Windowns and in the submenu choose Role Map. 
  2. In the “Role Map” panel that opens, check that the custom tag (listed in the left column of the panel) is mapped to the correct standard tag (shown in the right column).
  3. If the custom tag is not mapped to the proper standard tag, click the edit button next to the role map field that needs to be changed, and a new window will open in the pannel. Select the To* filed drop down and choose a new tag to which the custom tag should be mapped.
  4. After making the change, press Save.

Removing Role Maps (Converting to their Standard PDF tag type)

To automatically convert custom tags to their standard tag equivalent:  

  1. Select the Tags root,
  2. Right-click or otherwise open the context menu,
  3. Choose “Remove role maps.”


Screenshots

Add screenshots to help illustrate


Common Problems

When "Remove role maps" didn't work as expected

Here are some different scenarios that can occur in documents and how "Remove role maps" will work:

  1. If a custom tag is role mapped to a standard PDF tag, when role maps are removed, the custom tag will be converted to its standard tag "equivalent." 
  2. If a custom tag is role mapped to another custom tag, remove role maps will seem to have no effect because CL PDF doesn't know what standard PDF tag to convert the custom tag to. 
  3. If a custom tag is not role mapped at all, remove role maps will seem to have no effect because CL PDF doesn't know what standard PDF tag to convert the custom tag to.  

Frequently Asked Questions

What does it mean for a custom tag to be "role mapped"?

Role mapping is the association between a custom tag and a standard PDF tag. A PDF can use custom tag names in its Tags tree as long as each one is mapped to a standard tag, so that assistive technology still knows how to interpret it.


What are my options when a PDF contains custom tags?

You can either check the role mapping to confirm it's correct and keep the custom tags, or convert the custom tags to whichever standard tag they've been mapped to using "Remove role maps."


How do I change what a custom tag is mapped to?

Open the Role Map panel from the Windows tab. Click once in the standard tag field you want to change, click again for the dropdown arrow, and click a third time to open the menu of available tags. Select the new standard tag for the mapping.


How do I convert all custom tags to their standard tag equivalents at once?

Select the Tags root, open the context menu (right-click), and choose "Remove role maps." This converts every custom tag under the Tags root to its mapped standard tag.


Related Articles

How to Flatten Tags in the Advanced Editor




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article