Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add aria attributes to basic dialogs #224

Closed
wants to merge 3 commits into from

Conversation

eshtadc
Copy link

@eshtadc eshtadc commented Nov 7, 2017

Picking up the work from #116 to begin to address #47

Todo:

  • Determine how to handle tether modals
  • Focus management

@eshtadc
Copy link
Author

eshtadc commented Nov 7, 2017

As I mentioned in the other PR comments - aria attributes aren't automatically passed through to ember-tether, so we don't really have a good way to attach the aria-labelledby and aria-describe-by - only the role. There were some attempts to handle this emberjs/ember.js#13224 and it is discussed in the RFC here: emberjs/rfcs#242. This looks promising: mmun/ember-component-attributes#2

@lukemelia
Copy link
Contributor

Thanks for your work on this so far @eshtadc! It does seem important for developer ergonomics of this library that we have a consistent treatment of these attributes across the usage patterns. I'll keep this PR open until we can come up with a solution.

@eshtadc
Copy link
Author

eshtadc commented Nov 14, 2017

@lukemelia How do you feel about introducing the use of ember-component-attributes? It allows the passing of HTML attributes to any component (including the ember-tether components used for tethered display). I played with it locally with some success. Another option I can think of would be to open a PR against ember-tether to allow aria attributes either explicitly or through the use of ember-component-attributes. It mentions only being tested as far as Ember 2.8 (since it uses a transform) so that may be a concern.

@lukemelia
Copy link
Contributor

@eshtadc I would prefer to maintain backward compatibility through the full 2.x series at least until 3.0. I think a PR against ember-tether for explicit support of these aria attributes could work though.

@eshtadc
Copy link
Author

eshtadc commented Dec 15, 2017

I'm opening this in ember-tether: yapplabs/ember-tether#50

eshtadc added 2 commits March 13, 2018 14:52
* master:
  Update Travis config and add lint task
  Released v3.0.0-beta.0
  Update dependencies
  Safer click target check
  [BREAKING] Remove deprecations in anticipation of 3.0.0
  Released v2.4.3
  Fix bug in specifying incorrect overlay selector on iOS
  Released v2.4.2
  Update version compatibility (which controls ember:try version targets)
  Ignore engines to prevent error: The engine "node" is incompatible with this module. Expected version ">=6.0.0".
  Fix bug with clickOutsideToClose when stack is specified.
  ember-cli-update to 2.17
  Removing jQuery. Closes yapplabs#227.
  Released v2.4.1
  Revert modules update to file in app directory
  handle global document being undefined
  Released v2.4.0
  Confusing sentence
  Make optional dependencies section easier to read
  add array defaults before joining them
@frankeld
Copy link

@eshtadc @lukemelia Any plans to continue work here? I'd be happy to help!

@eshtadc
Copy link
Author

eshtadc commented Jan 4, 2022

Closing as out of date.

@eshtadc eshtadc closed this Jan 4, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants