|
get css selector of focused element
I never figured out how to get it to work inside of an NVDA addon either. You could try bs4, cssutils, or tinycss. Unfortunately, they all require xml.dom. NVDA excluded it from its Python library for
I never figured out how to get it to work inside of an NVDA addon either. You could try bs4, cssutils, or tinycss. Unfortunately, they all require xml.dom. NVDA excluded it from its Python library for
|
By
Andy B.
· #14027
·
|
|
Set and report focus of parent element instead of actually focused one
You would use api.getFocusObject().parent.positionInfo() most likely.
You would use api.getFocusObject().parent.positionInfo() most likely.
|
By
Andy B.
· #13906
·
|
|
Set and report focus of parent element instead of actually focused one
I wouldn't overwrite focus with the parent object. It could become confusing when quickly browsing code. If you are trying to get the position of the list item, look for a property/method on the paren
I wouldn't overwrite focus with the parent object. It could become confusing when quickly browsing code. If you are trying to get the position of the list item, look for a property/method on the paren
|
By
Andy B.
· #13903
·
|
|
Set and report focus of parent element instead of actually focused one
Focus = api.getFocusObject() Focus.parent.setFocus() Should do the trick. See code found in the developer toolkit addon for plenty of examples of how it works.
Focus = api.getFocusObject() Focus.parent.setFocus() Should do the trick. See code found in the developer toolkit addon for plenty of examples of how it works.
|
By
Andy B.
· #13899
·
|
|
Spotify
Spotify doesn’t need an addon to make it accessible if you get it from the Microsoft store. Sent from Mail for Windows 10
Spotify doesn’t need an addon to make it accessible if you get it from the Microsoft store. Sent from Mail for Windows 10
|
By
Andy B.
· #13374
·
|
|
Making menus accessible
Hi, I need to make an application’s menu system usable with NVDA. I was thinking of making an addon for it, but don’t know how to detect the currently focused menu item. Is there any way to do this? T
Hi, I need to make an application’s menu system usable with NVDA. I was thinking of making an addon for it, but don’t know how to detect the currently focused menu item. Is there any way to do this? T
|
By
Andy B.
· #13345
·
|
|
Monitoring changes in dynamic HTML pages
Hi, I don’t know how far you would get in C++. In Python, it is impossible because NVDA only exposes the accessibility tree. If you want to access the underlying dom, you would need xml.dom. Unfortuna
Hi, I don’t know how far you would get in C++. In Python, it is impossible because NVDA only exposes the accessibility tree. If you want to access the underlying dom, you would need xml.dom. Unfortuna
|
By
Andy B.
· #13052
·
|
|
Questions about golden cursor
Hi, I run flight simulators by the name of FSX and p3d (prepar3d). There is an addon called FSTramp which has docked windows inside of the flight simulator window. The only way to access this addon is
Hi, I run flight simulators by the name of FSX and p3d (prepar3d). There is an addon called FSTramp which has docked windows inside of the flight simulator window. The only way to access this addon is
|
By
Andy B.
· #12920
·
|
|
win32 module detected by python but not by NVDA's python development console
What kind of win32 attributes are you looking for? Sent from Mail for Windows 10
What kind of win32 attributes are you looking for? Sent from Mail for Windows 10
|
By
Andy B.
· #12891
·
|
|
win32 module detected by python but not by NVDA's python development console
Also keep in mind that NVDA can’t make use of modules that require the cython compiler or setup.py. For example, trying to use bs4, or cssutils is impossible because xml.dom requires a compiled versio
Also keep in mind that NVDA can’t make use of modules that require the cython compiler or setup.py. For example, trying to use bs4, or cssutils is impossible because xml.dom requires a compiled versio
|
By
Andy B.
· #12890
·
|
|
NVDA Add-on Download and Usage Stats
If its only download stats taken from the website, no problem. It gets tricky on the privacy issue when you start asking users if you can track their usage and favorite/most commonly used features. Se
If its only download stats taken from the website, no problem. It gets tricky on the privacy issue when you start asking users if you can track their usage and favorite/most commonly used features. Se
|
By
Andy B.
· #12815
·
|
|
NVDA Add-on Download and Usage Stats
Hi, NVDA already does this for itself. It doesn’t make any sense asking add-on users to allow it for each add-on. From my experience, add-on users aren’t interested much in providing stats like this b
Hi, NVDA already does this for itself. It doesn’t make any sense asking add-on users to allow it for each add-on. From my experience, add-on users aren’t interested much in providing stats like this b
|
By
Andy B.
· #12812
·
|
|
Developer toolkit reaches a new level
Hi, Thanks for the support. I will have to try some simple tests in Chrome. On the desktop environment side of things, I might have figured out how to avoid the NVDA add-on idea completely, and go wit
Hi, Thanks for the support. I will have to try some simple tests in Chrome. On the desktop environment side of things, I might have figured out how to avoid the NVDA add-on idea completely, and go wit
|
By
Andy B.
· #12675
·
|
|
Developer toolkit reaches a new level
Is this even worth putting into an NVDA add-on then? Why not have the add-on for desktop environments and a browser extension for web content? The only question then, is the layout of the browser exte
Is this even worth putting into an NVDA add-on then? Why not have the add-on for desktop environments and a browser extension for web content? The only question then, is the layout of the browser exte
|
By
Andy B.
· #12672
·
|
|
Developer toolkit reaches a new level
It uses the bs4 and tinycss libraries found in the pip repository. Sent from Mail for Windows 10
It uses the bs4 and tinycss libraries found in the pip repository. Sent from Mail for Windows 10
|
By
Andy B.
· #12669
·
|
|
Developer toolkit reaches a new level
Hi, I am writing today to let you know that Developer toolkit, an NVDA add-on which assists with the user interface design experience for blind/visually impaired developers, has reached a major milest
Hi, I am writing today to let you know that Developer toolkit, an NVDA add-on which assists with the user interface design experience for blind/visually impaired developers, has reached a major milest
|
By
Andy B.
· #12667
·
|
|
Python dependencies in add-ons
Hi, After sorting out the problem, I came up with the following that works to this point. Grab the addon’s path from addon.path property. Append ‘\lib’ to the addon.path property. insert the path abov
Hi, After sorting out the problem, I came up with the following that works to this point. Grab the addon’s path from addon.path property. Append ‘\lib’ to the addon.path property. insert the path abov
|
By
Andy B.
· #12666
·
|
|
Python dependencies in add-ons
Hi, I was able to import html.parser. Unfortunately, I receive an error: import error: no such module _markupbase. Further exploration of the topic concludes that _markupbase is a CPython module in th
Hi, I was able to import html.parser. Unfortunately, I receive an error: import error: no such module _markupbase. Further exploration of the topic concludes that _markupbase is a CPython module in th
|
By
Andy B.
· #12664
·
|
|
Python dependencies in add-ons
At this point, ideal isn’t an option, and I am ready to accept that fact. There isn’t a problem with importing html/xml into my addon. However, attempting to import html.parser violates the relative i
At this point, ideal isn’t an option, and I am ready to accept that fact. There isn’t a problem with importing html/xml into my addon. However, attempting to import html.parser violates the relative i
|
By
Andy B.
· #12660
·
|
|
Python dependencies in add-ons
Hi, Importing libraries/modules in my addon aren’t a problem in general. When NVDA removed parser from the html library that it uses, it broke other external libraries someone could use in addons. Now
Hi, Importing libraries/modules in my addon aren’t a problem in general. When NVDA removed parser from the html library that it uses, it broke other external libraries someone could use in addons. Now
|
By
Andy B.
· #12659
·
|