Adding WAI-AREA support for <article> to support LiveJournal.

This commit is contained in:
Samuel Clay 2014-07-21 14:50:10 -07:00
parent ce3347f388
commit 28061bc987

View file

@ -273,7 +273,7 @@ class Document:
self.TEXT_LENGTH_THRESHOLD)
candidates = {}
ordered = []
for elem in self.tags(self._html(), "p", "pre", "td", "section"):
for elem in self.tags(self._html(), "p", "pre", "td", "section", "article"):
parent_node = elem.getparent()
if parent_node is None:
continue