New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support tables in Kindle for PC #7977
Conversation
…st tables) with comma and shift comma.
@@ -63,6 +65,28 @@ def isAlive(self): | |||
def __contains__(self,obj): | |||
return obj==self.rootNVDAObject | |||
|
|||
def _getTableCellAt(self,tableID,startPos,destRow,destCol): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a docstring for this? At a glance I don't understand why there is start and dest passed in, is this a range?
Perhaps its an override, and the docstring is on another class? Hard to know since this class inherits from a few classes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refer to the docstring on documentBase.DocumentWithTableNavigation._getTableCellAt.
@feerrenrut: I referred to the base class in the docstring for _getTableCellAt. I'm not sure if you completed review but I did incubate this early to ensure we get a good test period on Next. Your review is still required before Master. |
Link to issue number:
Fixes #6138
Summary of the issue:
Amazon has recently been implementing accessibility support for tables within Kindle for PC. Therefore, once this is publically released, and there are books with table content available, ATs such as NVDA will be able to allow reporting of tables and table navigation within kfx books.
Description of how this pull request fixes the issue:
This PR adds support for tables within Kindle for PC.
Specifically:
Testing performed:
Navigated multiple books in various private builds of Kindle for PC. Table support should be publically available in their next release.
Navigated tables in Mozilla Firefox, to ensure IAccessibleTable2 works okay there as well. Note that NVDA will fall back to IAccessibleTable when IAccessibleTable2 is not available.
Known issues with pull request:
This PR depends on PR #7872 (support for reporting colspan and rowspan), but is not included directly in this PR.
Change log entry: