OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5cf1f
)
MSHTML NVDAObject name property: Let' sstill treat an empty title string as no title...
author
James Teh
<jamie@jantrid.net>
Thu, 23 Feb 2012 04:32:01 +0000
(14:32 +1000)
committer
James Teh
<jamie@jantrid.net>
Thu, 23 Feb 2012 04:32:01 +0000
(14:32 +1000)
source/NVDAObjects/IAccessible/MSHTML.py
patch
|
blob
|
history
diff --git
a/source/NVDAObjects/IAccessible/MSHTML.py
b/source/NVDAObjects/IAccessible/MSHTML.py
index
75f3e25
..
a13bd2b
100644
(file)
--- a/
source/NVDAObjects/IAccessible/MSHTML.py
+++ b/
source/NVDAObjects/IAccessible/MSHTML.py
@@
-464,7
+464,7
@@
class MSHTML(IAccessible):
title=self.HTMLAttributes['title']
\r
# #2121: MSHTML sometimes returns a node for the title attribute.
\r
# This doesn't make any sense, so ignore it.
\r
- if isinstance(title,basestring):
\r
+ if
title and
isinstance(title,basestring):
\r
return title
\r
if self.IAccessibleRole==oleacc.ROLE_SYSTEM_TABLE:
\r
summary=self.HTMLAttributes['summary']
\r