开发者

Retain focus after page refresh in JSF 2.0 SUN RI

In my current project we're trying to write an application (using SUN RI JSF 2.0) implementation mainly for accessibility (with JAWS and windows EYE).

Most of the things are up as expected except for the focus after each refresh. On each change in dropdown (combobox), we've to populate another one with dependent values, this causes the whole page to refresh and we loose focus on the last field. The refresh开发者_如何转开发 is done using navigation rule back to the same page so that screen readers can get the event and get new values.

Is there a way around this to somehow remember the last focus position and retain the focus so that screen readers can read from that position onwards and not the complete page beginning.

I have searched google and lot of other great stuff written by 'baluc' or other people in this field but can not identify the correct solution to this.

Thanks a lot for your patience in going through it.

Regards.


Used and somehow JAWS was able to identify the dynamic content so focus was retained and things are moving as expected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜