Go to file
Unknown ae59e82021 Improve A11y of comment reply.
Currently this is a link. Users will expect this link to take them to another part of the page or another page altogether. 

There is no indication that it opens or closes an associated form on the same page, nor does it indicate the current state of the “reply to” form.

So, instead of a link, use a button. Add to that button an aria-controls attribute that references the id of the associated form’s container, and an aria-expanded attribute that indicates (true or false) the state of the associated form.
2018-02-01 16:27:30 +13:00
_config Test fixes 2017-09-14 11:12:07 +12:00
.tx Remove Transifex configuration. Commit directly to lang files for SS3. 2017-12-18 18:14:53 +13:00
css Add phpunit, lint fixes and removed compass for webpack 2017-09-14 10:01:09 +12:00
docs/en SS4 compatibility updates - ORM, Form, Controller changes 2017-01-17 16:25:09 +13:00
javascript Improve A11y of comment reply. 2018-02-01 16:27:30 +13:00
lang Merge branch '2' 2017-12-19 09:14:47 +13:00
scss FIX: Redirect to a URL that does not indicate an error, style moderation method 2016-03-24 08:55:23 +07:00
src Merge branch '2' 2017-12-19 09:14:47 +13:00
templates Improve A11y of comment reply. 2018-02-01 16:27:30 +13:00
tests FIX Update CommentAdmin test to create a mock session and not assert missing translation 2017-12-19 09:32:56 +13:00
thirdparty/jquery-validate Nested comments proof of concept 2015-04-21 11:12:42 +12:00
_config.php FIX Merge config in tests, add phpcs and add HTML purifier to Travis builds 2017-10-09 17:26:07 +13:00
.codecov.yml Add .codecov.yml file 2017-07-19 16:04:34 +01:00
.editorconfig Added standard editor config 2015-11-19 13:24:59 +13:00
.gitattributes NEW Convert to vendor module, add table_name to test stubs and add PHP 7.2 to travis 2017-12-12 17:03:04 +13:00
.gitignore Add phpunit, lint fixes and removed compass for webpack 2017-09-14 10:01:09 +12:00
.scrutinizer.yml FIX Fix CI builds, remove excessive Travis builds matrixes, update composer constraint for gridfield-bulk-tools 2017-01-27 12:48:57 +13:00
.travis.yml Merge branch '2.0' into 2.1 2017-12-18 18:17:06 +13:00
.upgrade.yml Remove deprecated@2.0. Update Migrate task to check table name. Minor tweaks to class names. Use Director::absoluteURL. 2017-01-17 17:39:06 +13:00
code-of-conduct.md Added standard code of conduct 2015-11-21 20:12:57 +13:00
composer.json Merge branch '2' 2017-12-19 09:14:47 +13:00
license.md Updated license year 2016-01-01 06:42:13 +13:00
package.json Add phpunit, lint fixes and removed compass for webpack 2017-09-14 10:01:09 +12:00
phpcs.xml.dist Add phpunit, lint fixes and removed compass for webpack 2017-09-14 10:01:09 +12:00
phpunit.xml.dist FIX Merge config in tests, add phpcs and add HTML purifier to Travis builds 2017-10-09 17:26:07 +13:00
README.md DOCS Update readme badges and add version support note 2017-12-18 14:11:51 +13:00
webpack.config.js Add phpunit, lint fixes and removed compass for webpack 2017-09-14 10:01:09 +12:00
yarn.lock Add phpunit, lint fixes and removed compass for webpack 2017-09-14 10:01:09 +12:00

Comments

Build Status Scrutinizer Code Quality Code Coverage

Introduction

This module provides commenting functionality for Pages and other DataObjects on your SilverStripe site.

For more documentation about the module see the provided documentation located inside the docs folder.

Requirements

  • SilverStripe ^4.0

Note: This branch is compatible with SilverStripe 4. For a SilverStripe 3 release, please see the 2.x release line.

Installation

composer require silverstripe/comments

See docs/en/Installing.md

Contributing

Translations

Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.

Please use https://www.transifex.com/projects/p/silverstripe-comments/ to contribute translations, rather than sending pull requests with YAML files.

See the "i18n" topic on doc.silverstripe.org for more details.