OSDN Git Service

NVDAObjects.IAccessible.MSHTML.locateHTMLNodeByID: use document.getElementsByName...
authorMichael Curran <mick@kulgan.net>
Tue, 21 Sep 2010 01:41:35 +0000 (11:41 +1000)
committerMichael Curran <mick@kulgan.net>
Tue, 21 Sep 2010 01:41:35 +0000 (11:41 +1000)
commit7a471f9cccd016200d453c8e60f4c22dcea4ad67
treebf403e616796ea5561a1c6dc5847957a2bd88587
parentf027b5607f34d897f3616095d4b5b408689b2615
NVDAObjects.IAccessible.MSHTML.locateHTMLNodeByID: use document.getElementsByName rather than document.getElementById as getElementById in Internet Explorer 9 does not support auto-generated IDs such as ms__idX, where as getElementsByName, in all versions seems to support this ok. This change allows NVDA to properly track objects in Internet Explorer 9 virtualBuffers -- links etc can now be activated, the focus will track the virtualBuffer caret etc.
source/NVDAObjects/IAccessible/MSHTML.py