Skip to content

Commit

Permalink
Merge a2aaa0e into 3dd693f
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaCowley committed May 8, 2024
2 parents 3dd693f + a2aaa0e commit 4b1bc35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/NVDAObjects/IAccessible/ia2Web.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import controlTypes
from logHandler import log
from documentBase import DocumentWithTableNavigation
from NVDAObjects.behaviors import Dialog, WebDialog
from NVDAObjects.behaviors import Dialog, WebDialog
from . import IAccessible, Groupbox
from .ia2TextMozilla import MozillaCompoundTextInfo
import aria
Expand Down Expand Up @@ -121,6 +121,10 @@ def isDescendantOf(self, obj: "NVDAObjects.NVDAObject") -> bool:
return bool(res)

def _get_positionInfo(self):
if self.role == controlTypes.Role.TABLECELL:
for anc in reversed(api.getFocusAncestors()):
if anc.role == controlTypes.Role.TREEVIEWITEM:
return anc.positionInfo
info=super(Ia2Web,self).positionInfo
level=info.get('level',None)
if not level:
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* The fallback braille input table is now equal to the fallback output table, which is Unified English Braille Code grade 1. (#9863, @JulienCochuyt, @LeonarddeR)
* NVDA will now report figures with no accessible children, but with a label or description. (#14514)
* When reading by line in browse mode, "caption" is no longer reported on each line of a long figure or table caption. (#14874)
* Position information is now reported for gridcells in ARIA treegrids. (#15818)

### Bug Fixes

Expand Down

0 comments on commit 4b1bc35

Please sign in to comment.