Navigation

DITA maps influence navigation in output formats, enabling automatic generation and context-sensitive structures.

DITA maps heavily influence how navigation appears in output formats like PDFs, HTML help, or portals. They ensure sophisticated navigation that adapts to different output formats automatically.

Automatic Navigation Generation

  • Web Output: Maps generate breadcrumb navigation, left-hand table of contents (TOC), expandable navigation panels, "Related Links" sections (based on relationship tables), and search-friendly URL structures.
  • PDF Output: Maps create a table of contents with page numbers, running headers showing the current section, cross-reference links with page number citations, and bookmarks for easy navigation.

This automatic navigation generation ensures consistency across formats without manual maintenance, which reduces user confusion and support costs.

Navigation Titles vs. Content Titles

The <navtitle> attribute allows you to specify a navigation-specific title for a topic reference, which can be different from the topic's actual title.

Example:


<topicref href="advanced-user-management-procedures.dita" navtitle="User Management"/>
      

This allows long, descriptive topic titles to be shortened for navigation menus or tables of contents without changing the actual content, improving both usability and SEO.

Progressive Disclosure

DITA maps can define multiple levels of navigation detail, allowing users to progressively discover more specific information. This means users can quickly find their area of interest without being overwhelmed by detailed navigation options. For example, Level 1 might be major functional areas, Level 2 specific task categories, and Level 3 individual procedures.

Context-Sensitive Navigation

Maps can define different navigation structures for different contexts or user roles. For instance, an API documentation map might show different navigation paths for developers, architects, and product managers, all drawing from the same underlying topics.

Mobile-Responsive Navigation

Map-generated navigation should be designed to work effectively across various device types, with best practices including limiting navigation depth (e.g., 3-4 levels), using concise labels, and designing hierarchies that collapse logically on smaller screens. This directly impacts user adoption and satisfaction, especially in field service or support scenarios.