Locating the names of buttons when writing knowledge allows for increased accessibility for readers, particularly those who use screen readers.
This article covers:
Hovering Over Icons
The simplest way to determine the name of buttons is to hover the cursor over it.
- Move the cursor to the desired button.
- Hover the cursor over the button but do not click it.

- In most cases, the name of the button will pop up near the cursor (this may take a few seconds to appear).

- If the name of the button does not appear, try following Using the Inspect Option or Using Accessibility Mode.
Using the Inspect Option
Inspect is another method for determining the name of a button by showing how it is written in the code. This works on Windows and Mac devices and can be used in the case that Hovering Over Icons does not work.
Aria Label Attribute
The aria-label attribute is sometimes added by developers. If the original button name was written in a way that makes sense to a computer but not a human, then developers can add the aria-label attribute to give the button a more human-friendly name.
The following example explains how the Google Apps button name can be identified.

- Right click on the desired button to display a menu of options.
- Select Inspect from the context menu.

- A set of code will appear, highlighting the line that contains information about the selected button.
- If there is an aria-label attribute, then that is the name of the button.

- If there is an aria-label attribute, then that is the name of the button.
- It is indicated that the name of the button in this example is Google Apps.
- If the button name cannot be identified, try Using Accessibility Mode.
Using Accessibility Mode
Accessibility mode can reveal the name of a button by stating it aloud when the cursor is hovered over it. This option can be used in the case that Hovering Over Icons or Using the Inspect Option do not work.
Mac Device
- Navigate to the
System Settings app. - Select the Accessibility tab in the left hand column.

- On the Accessibility page, select the Spoken Content tab.

- On the Spoken Content page, click the toggle next to the Speak item under the pointer option to turn it on.

- Hover over buttons to hear their name read aloud.
Windows Device
- Right click on the
Windows Start button on the bottom of the screen. - Select Settings in the pop-up menu.

- Select the Accessibility tab in the left hand column of Settings.

- On the Accessibility page, select the Narrator tab.

- Click the toggle next to the Narrator option to turn it on.

- Hover over buttons to hear their name read aloud.