standards-support icon indicating copy to clipboard operation
standards-support copied to clipboard

Labeling of toggle buttons (aria-pressed) will not be output if they have a title attribute

Open JAWS-test opened this issue 6 years ago • 4 comments

Summary

Labeling of toggle buttons (aria-pressed) will not be output if they have a title attribute

  1. Save as HTML file:
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>button</title>
	</head>
	<body>
		<button title=title1 aria-pressed=false>text1</button>
		<button title=title2 aria-pressed=true>text2</button>
		<button title=title3 aria-pressed=false aria-label=arialabel>text3</button>
		<input type=button title=title4 aria-pressed=true value=text4>
		<input type=submit title=title5 aria-pressed=true>
	</body>
</html> 
  1. Tab to the buttons

Expected result

  • Text content is output as label
  • title is output as description

Actual result

  • Text content is not output
  • title is output as label
  • Problem occurs in IE 11, Chrome and Firefox
  • Problem only occurs with tab navigation
  • In all three browsers the problem also occurs with input type=button/submit/reset
  • In Firefox the problem even occurs if the button is explicitly labeled with aria-label

Additional Information

JAWS version and build number

JAWS 2019.1907.42

Operating System and version

Windows 8

Browser and version:

Chrome 76.0.3809.100 Firefox 68.0.2 Internet Explorer 11.0.9600.19431

JAWS-test avatar Sep 01 '19 04:09 JAWS-test

@JAWS-test Closing this, please feel free to re-open if this still occurs with Latest (JAWS 2024).

stevefaulkner avatar Mar 31 '24 11:03 stevefaulkner

@stevefaulkner I am very surprised and annoyed. I assumed that the ticket was checked with JAWS 2024, that the problem no longer occurs there and that it was therefore closed. But now I have to realise that it was closed without any checks. Why is that? Because it is 5 years old? But it still occurs with JAWS 2024. Please reopen the ticket and fix the problem. It is a JAWS bug because the name is correctly passed from Chrome to the Accessibility API.

I also expect information on why tickets are closed without being checked.

JAWS-test avatar Apr 20 '24 09:04 JAWS-test

@JAWS-test Thanks for confirming will re-open

stevefaulkner avatar Apr 20 '24 10:04 stevefaulkner

test case note that with PC cursor off when tabbed to the correct information is output.

stevefaulkner avatar Apr 20 '24 11:04 stevefaulkner