Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 5, 2022
1 parent d27ad80 commit 82f0e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ComboBoxButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export type ComboBoxButtonArrowDirection = typeof ARROW_DIRECTION_VALUES[number]
// The definition for how ComboBoxButton sets its accessibleName in the PDOM. See ComboBox.md for further style guide
// and documentation on the pattern.
const ACCESSIBLE_NAME_BEHAVIOR: PDOMBehaviorFunction = ( node, options, accessibleName ) => {
options.labelTagName = 'span';
options.labelTagName = 'p'; // NOTE: A `span` causes duplicate name-speaking with VO+safari in https://github.com/phetsims/ratio-and-proportion/issues/532
options.labelContent = accessibleName;
return options;
};
Expand Down

0 comments on commit 82f0e3a

Please sign in to comment.