• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / Visio / Understanding Visio Navigation Order

Published on July 5, 2019 by David Parker

Understanding Visio Navigation Order

Visio defaults to tabbing from shape to shape in the order that the shapes are added to the page. However, this can end up with an illogical order if you are trying to navigate a diagram with the keyboard, which is often an accessibility requirement. Fortunately, Visio provides a Diagram Navigation pane so that the tab order can be changed, but how does it do it? The following short video shows how the navigation order, displayed as numbers in each shape, is assigned a value as soon as the order is edited.



Accessibility is important in my current project, so understanding how this happens was important to understand, and to surface this order to JavaScript, as we want to list the shapes in a logical order too.
I managed this by adding a User.visNavOrder to the master shape of all the significant masters, and a hidden Shape Data row, labelled “Navigation Order“. This has the following formula for its value:

=GUARD(User.visNavOrder)

If User.visNavOrder is not already present in a shape, then Visio will automatically add it when the View / Show / Task Panes / Diagram Navigation panel is used. However, I need it to already exist so that a Shape Data row can reference it, because Shape Data rows are exposed to the Visio Online JavaScript API and User-defined Cells are not. Then the order of the shapes collection can be made to match the tab order in the diagram.
In the above video clip, the Navigation Order Shape Data row is displayed as text on each shape so that it is clear how Visio is automatically assigning values to User.visNavOrder when the Diagram Navigation panel is used.
In addition to each shape getting the User.visNavOrder cell, the page itself gets a User.visNavType cell with a value of 1. Setting this value to 0 will suspend the update of the User.visNavOrder cells in the shapes until the Diagram Navigation panel is used to manipulate the order again, which will set the value back to 1 again.
Ensuring Accessibility in Visio
Make your Visio diagram accessible to people with disabilities
Ensuring High Contrast Text in Visio Shapes
 

Related

Filed Under: Accessibility, ShapeSheet Formulas, SharePoint, Visio, Visio Online Tagged With: Accessibility, Shape Data, ShapeSheet

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Comments

  1. Ann PV says

    November 25, 2020 at 1:34 am

    Hi there!
    Is this feature available in Viso 2013 Professional Version?

    Reply
    • David Parker says

      December 7, 2020 at 4:48 pm

      I don’t think so, I think it came in with 2016.

      Reply
  2. Rohit Patil says

    September 30, 2021 at 7:39 am

    Hey, can I programmatically set user.visNavOrder to 1

    Reply
    • Rohit Patil says

      September 30, 2021 at 7:39 am

      Sorry I meant “User.visNavType” for page

      Reply
      • David Parker says

        September 30, 2021 at 3:38 pm

        Yes you can. eg page.Cells(“User.visNavType”).FormulaU = 1
        If the visNavType is 1 then the navigation order will respect the visNavOrder values
        If the visNavType is 0 then the navigation order will be as the shapes were dropped on the page

        Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Update to LayerManager add-in for non-English users
  • Pushing Data Visualizer in Visio beyond its limits
  • Pushing Data Visualizer in Visio to the limits!
  • Teams Tuesday Podcast Recording about Visio
  • Linking Data to Visio Shapes in Code

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Themes Validation VBA Video Visio Visio 2007 Visio 2013 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • LinkedIn
  • Twitter

Search this website

Recent posts

  • Update to LayerManager add-in for non-English users
  • Pushing Data Visualizer in Visio beyond its limits
  • Pushing Data Visualizer in Visio to the limits!
  • Teams Tuesday Podcast Recording about Visio
  • Linking Data to Visio Shapes in Code

Copyright © 2023 · Executive Pro on Genesis Framework · WordPress · Log in