Is it possible to force a buffer refresh in JAWS 9 or 10?
-
24-09-2019 - |
문제
Is there some way, through either JAWS scripting or HTML, to force JAWS to refresh its virtual screen buffer (normally Ins + Esc)? I'm working on an AJAX-heavy web application that requires JAWS support, but the users don't particularly like the solution "hit Ins+Esc after performing any action to catch possible changes".
해결책
토큰 화하고 싶지 않으면 split
를 사용하십시오.
String[] emails = { "test@test.com;test2@test.com;test3@test.com", "test@test.com" };
List<string> result = new ArrayList<String>();
for ( string listOfEmails : emails ) {
for( string email : listOfEmails.split(";") ) {
result.Add(email).
}
}
System.out.println(result);
.
모든 경우에 작동합니다.
다른 팁
Rather than refreshing the entire JAWS virtual buffer and doing something that is JAWS-specific, I would recommend using the ARIA aria-live
property for this. Place it on an element which contains dynamic content, i.e. which you update with JavaScript, and the portion of the JAWS virtual buffer corresponding to that element will be automatically updated when you change the content of the element.