Skip to content
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

aria1.0 combobox with autocomplete=both example: Make Up Arrow set activedescendant to last match in list #857

Merged
merged 7 commits into from
Sep 13, 2018

Conversation

jongund
Copy link
Contributor

@jongund jongund commented Aug 27, 2018

I fixed the bug in the up arrow key not properly setting aria-activedescendant

Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This particular issue seems resolved when testing with JAWS in Firefox and Chrome.

@@ -75,6 +75,7 @@ ComboboxList.prototype.init = function () {
};

ComboboxList.prototype.setActiveDescendant = function (option) {
console.log('[setActiveDescendant]: ' + option + ' ' + this.listbox.hasFocus);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be removed?

@mcking65 mcking65 requested a review from sh0ji August 29, 2018 02:25
@mcking65 mcking65 changed the title Combobox 1.0 example fixed bug aria1.0 combobox with autocomplete=both example: Make Up Arrow set activedescendant to last match in list Aug 29, 2018
@jongund
Copy link
Contributor Author

jongund commented Aug 29, 2018

I removed the console.log statement from the javascript file

Copy link
Contributor

@sh0ji sh0ji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visual styling looks good!

@mcking65 mcking65 merged commit 18eacf8 into w3c:master Sep 13, 2018
michael-n-cooper pushed a commit that referenced this pull request Sep 13, 2018
aria1.0 combobox with autocomplete=both example: Make Up Arrow set activedescendant to last match in list (pull #857)

To address issue #821, make the up arrow behavior when a match exists consistent with when text box is empty.
spectranaut pushed a commit to bocoup/aria-practices that referenced this pull request Sep 13, 2018
…tivedescendant to last match in list (pull w3c#857)

To address issue w3c#821, make the up arrow behavior when a match exists consistent with when text box is empty.
spectranaut pushed a commit to bocoup/aria-practices that referenced this pull request Sep 14, 2018
…tivedescendant to last match in list (pull w3c#857)

To address issue w3c#821, make the up arrow behavior when a match exists consistent with when text box is empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants