문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top