Changes between Initial Version and Version 1 of Ticket #14539, comment 4


Ignore:
Timestamp:
Jun 17, 2016, 12:11:23 PM (5 years ago)
Author:
Marek Lewandowski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14539, comment 4

    initial v1  
    1 Our team had a discussion, we decided that we'll simplify it even further. The only way for setting the label is going to be direct setting it in `fake` method, just like it was done in [t/14539](https://github.com/cksource/ckeditor-dev/blob/t/14539/core/selection.js#L1960).
     1Our team had a discussion, we decided that we'll simplify it even further. The only way for setting the label is going to be direct setting it in `fake` method, just like it was done in [https://github.com/cksource/ckeditor-dev/blob/t/14539/core/selection.js#L1960 t/14539].
    22
    33There's a drawback though, in case of auto fake selection mechanism, which happened automatically when selecting a range containing only a content-non-editable element. Just because it doesn't have a proper context (it doesn't know what it's working on, and it should not have) we need to provide a mechanism for it to discover the label. So the idea is to provide proper aria markup (most likely `aria-labelledby`) and attempt fake selection to obtain it.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy