Commit c2ae4c75 authored by Harald Sitter's avatar Harald Sitter 🌼

make sure a11y gets enabled in in Qt

short of setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON this should pretty much
be the sledgehammer approach

(on the CI for some reason it doesn't want to enable a11y unless we
 explicitly set the bus values)
parent bc829972
......@@ -23,7 +23,12 @@ AT_SPI_BUS_LAUNCHER_PATH = ENV['AT_SPI_BUS_LAUNCHER_PATH']
warn "Testing against #{DRKONQI_PATH} with #{AT_SPI_BUS_LAUNCHER_PATH}"
# Dies together with our dbus.
spawn "#{AT_SPI_BUS_LAUNCHER_PATH} --launch-immediately"
# Make sure to enable a11y and screen-reader explicitly so qt definitely
# activates its a11y bindings.
spawn(AT_SPI_BUS_LAUNCHER_PATH,
'--launch-immediately',
'--a11y=1',
'--screen-reader=1')
require 'atspi'
require 'minitest/autorun'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment