we are trying to implement an application for visually impared people with Java-CEF. Our program opens a HTML-page in a window based on a JFrame. We are using screen readers, namly NVDA (open source) and JAWS, to test our implementation.
Now we encountered the following problem:
When we open the HTML-file inside our Java-CEF application, the behavior of the screen readers are not as expected. We can access the button in the testfile and we could access lists and input texts as well in other testfiles, but we can't get access to any header or paragraph what so ever.This content is just not visible for the screen readers. Expacted behavior would be to navigate with TAB or the arrow keys through the page and the screen reader would read out every line or element.
The example HTML-file we're using works just fine with the screen readers in all browsers we tested (Chrome, Firefox) and is perfectly accessable with them. The example looks as follows:
- Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Example</title>
</head>
<body>
<h1>Headline</h1>
<button>click</button>
<h2>Subsection</h2>
<p>Paragraph</p>
</body>
</html>
Maybe you allready encountered this problem, too or have any suggestions where the source of the problem is to find? Is there any option to fix this?
Thanks for any help allready!