HTML/CSS/JavaScript Sliders created using the WAI-ARIA specification should be exposed in WebKitGTK implementing the AtkValue interface, which is not happening right now. In more detail, the following functions should be implemented: atk_value_get_current_value atk_value_get_maximum_value atk_value_get_minimum_value atk_value_set_current_value atk_value_get_minimum_increment Use this example as reference: http://test.cita.illinois.edu/aria/slider/slider1.php
Created attachment 86703 [details] Patch proposal + Layout test Patch proposal + Layout test for this
Comment on attachment 86703 [details] Patch proposal + Layout test View in context: https://bugs.webkit.org/attachment.cgi?id=86703&action=review > Source/WebCore/accessibility/gtk/AXObjectCacheAtk.cpp:156 > + GValue gValue = { 0 }; > + atk_value_get_current_value(ATK_VALUE(axObject), &gValue); > + > + AtkPropertyValues propertyValues; > + propertyValues.property_name = "accessible-value"; > + propertyValues.new_value = gValue; > + Would it make sense to simply do: atk_value_get_current_value(ATK_VALUE(axObject), &propertyValues.new_value);
(In reply to comment #2) > (From update of attachment 86703 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=86703&action=review > > > Source/WebCore/accessibility/gtk/AXObjectCacheAtk.cpp:156 > > + GValue gValue = { 0 }; > > + atk_value_get_current_value(ATK_VALUE(axObject), &gValue); > > + > > + AtkPropertyValues propertyValues; > > + propertyValues.property_name = "accessible-value"; > > + propertyValues.new_value = gValue; > > + > > Would it make sense to simply do: > > atk_value_get_current_value(ATK_VALUE(axObject), &propertyValues.new_value); Yes, I'll change that. Thanks
Committed r82095: <http://trac.webkit.org/changeset/82095>