Skip to content

Reference

tilttek/accessible-dice
TypeRole
TilttekAccessibleDiceBundleThe bundle: its configuration and its services
Application\AccessibleDiceThe dice offered and the expression of a choice
Application\DieChoiceA die offered: its name, its notation, its label and its faces
Application\FaceDescriberThe descriptions of the faces of the custom dice, and their labels
Application\FaceDescriptionA face in words: its label, its description, its shape and its value
Application\RollAnnouncerA roll in the sentence a screen reader announces
Application\WordsThe words, through the translator or in English
Application\Politenesspolite or assertive
Application\Exception\InvalidChoiceA choice the form does not offer
Infrastructure\Twig\AccessibleDiceExtensionaccessible_dice(), accessible_dice_announcement() and accessible_dice_faces()
Infrastructure\DependencyInjection\AccessibleDiceServicesRegisters the services
ServicePublic
Tilttek\AccessibleDice\Application\Wordsno
Tilttek\AccessibleDice\Application\FaceDescriberyes
Tilttek\AccessibleDice\Application\RollAnnounceryes
Tilttek\AccessibleDice\Application\AccessibleDiceyes
Tilttek\AccessibleDice\Infrastructure\Twig\AccessibleDiceExtensionyes, with Twig
AssetsWhat they are
assets/src/dice_controller.jsThe controller tilttek--accessible-dice--dice
assets/src/lib/dice.jsThe expression of a choice and the sentences of the rolls
assets/styles/accessible-dice.cssThe stylesheet: the targets, the focus, the shapes and the motion