Skip to content

The "popup" data rel attribute should be mapped to the respective ARIA attributes #5898

Closed
vick08 opened this Issue Apr 18, 2013 · 1 comment

1 participant

@vick08
vick08 commented Apr 18, 2013

Whenever the data-rel=popup occurs in jQuery Mobile pages, the following accessibility enhancements should be mapped:

  • aria-haspopup=true, to indicate that that the href with data-rel=popup links to the popup container.
  • aria-expanded=true/false, should be dynamically modified when popup is shown or hidden respectively. For example:

Click to pop me up

I am just a simple popup but I should read fine with screen readers!
@gabrielschulhof gabrielschulhof added a commit that referenced this issue Apr 18, 2013
@gabrielschulhof gabrielschulhof Links: Append popup accessibility attributes. Fixes #5898.
(cherry picked from commit ab910d3)
252634e
@vick08
vick08 commented Apr 19, 2013

Can you please confirm that aria-expanded attribute is being applied correctly depending on the open/close state of the popup?

@gabrielschulhof gabrielschulhof added a commit that referenced this issue Oct 1, 2013
@gabrielschulhof gabrielschulhof Revert "Links: Append popup accessibility attributes. Fixes #5898."
This reverts commit ab910d3.

Conflicts:
	js/jquery.mobile.links.js
a5b7cea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.