Have you ever tried navigating your beautifully designed Tableau dashboard without a mouse?

When you build a dashboard, it’s easy to focus entirely on how things look. But if you want to ensure your data is truly accessible and meets WCAG (Web Content Accessibility Guidelines) 2.2 and GDS (Government Design Service) standards, you have to think about how your dashboards behaves for keyboard-only users.

Recently, I was asked to build a dashboard with accessibility at the forefront. While Tableau has made strides in this area, being able to control the tab order—the sequence in which a keyboard user navigates through your charts, filters, and containers—isn't something you can easily fix with a simple drag-and-drop menu.

To take control of the tabbing experience, I had to take a look under the hood. Here is what I learned when I dove into Tableau's XML.

The Sea of XML: Rearranging Your Zones

Think of a Tableau Workbook (.twb) not as a magical file, but as a giant, highly structured text document written in XML. Every container, worksheet, and dashboard element you place on your canvas is represented by a piece of code, specifically within <zone> tags.

By default, Tableau determines the tab order based on the order these containers were added into the dashboard. For a keyboard user, this can mean wildly jumping from a header, down to a footer, back up to a filter, and finally to a chart. It’s a frustrating, disjointed experience.

To fix this, you can open your .twb file in a text/code editor and physically rearrange the order of the <zone> tags so that they follow a logical, top-to-bottom, left-to-right reading order.

The image above displays how the xml code looks in VSCode. The blue boxes contain a zone each and the red boxes show how you can find these zone tags.

Pro Tip: Make sure you name your sheets in your Tableau Workbook

When I first opened my XML file to rearrange my zones I struggled, as I was staring at an endless sea of angle brackets and code, trying to find specific charts.

Because I hadn't properly named my worksheets before saving, I was looking for default names like 'Sheet 3'. Let me tell you, trying to identify which zone corresponds to your main KPI chart when it is generically named 'Sheet 3' is a nightmare.

The Golden Rule: Always use clear, descriptive naming conventions for your individual sheets and dashboard containers before you open the XML. It makes finding and reordering your elements infinitely easier and saves you from playing a guessing game with your own code.

Can we deal with unwanted zones

While rearranging the <zone> tags works brilliantly for controlling the order of navigation, I hit another roadblock when trying to control what gets navigated.

What if you have a color legend that is purely visual, and you don’t want the user to be forced to tab through it? My initial thought was to delete that specific <zone> tag entirely from the XML file.

I tried this, and it completely broke the dashboard.

Currently, Tableau does not have a native ability to easily remove specific containers from the tabbing index without removing them from the visual dashboard altogether. Deleting the zone tag severs the structure the file relies on to render. For now, if an element is on the dashboard, a keyboard user will likely have to tab through it. It’s a limitation to keep in mind during the initial design phase—only include what is absolutely necessary.

Final Thoughts

Building a dashboard that meets WCAG 2.2 and GDS standards goes far beyond picking colorblind-friendly palettes. It requires us to step into the shoes of users who interact with our data differently. Just remember to name your sheets properly before you dive into the code, and accept that for now, everything on your canvas is going to be part of the journey.