Back to all posts

NVDA Settings for Coding

The three NVDA settings I change when I write code, and why each one matters.

When I read code with NVDA, I need to hear more detail than I do when reading normal text. These are the three settings I change first.

1. Hear all symbols

Set the symbol level to all:

  • Quick way: press the NVDA modifier key, usually Insert, plus P. Each press moves to the next level, none, some, most and all, so keep pressing until you hear "all".
  • From the NVDA menu: press the NVDA modifier key plus N, then go to Preferences -> Settings -> Speech and set the symbol level to all.

Programming syntax depends on symbols. Hearing them helps me understand the code and catch a missing brace, parenthesis, colon, or other character.

2. Hear indentation

Press the NVDA modifier key plus N, then go to Preferences -> Settings -> Document Formatting and set line indentation to speech.

Spoken indentation helps me follow the structure of a file. It is especially important in Python, where indentation defines code blocks.

3. Hear capital letters

Press the NVDA modifier key plus N, then go to Preferences -> Settings -> Speech and select the checkbox for "Say cap before capitals."

Knowing when a letter is capitalized helps when I read, write, and debug names that use different capitalization.

Analytics choices

May I use Google Analytics to understand which pages people read? If you accept, Google receives information about your visits and device, and stores analytics cookies in your browser. You can decline and still use the whole site.

If you close this dialog without choosing, analytics stays off and you will not be asked again on this device for 180 days. You can change your choice at any time using Analytics choices at the bottom of the page. Your choice is remembered for 180 days. Read the privacy policy.