Project

General

Profile

Actions

Bug #66329

closed

FLUID doesn't reconize aria- attributes

Added by Mohamed Rebai about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2015-04-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Hi,

I just got this error message :

#1237823695: Argument "aria-describedby" was not registered.

The aria- attributes are important for web accessibility, can you make FLUID reconize those attributes please ?

Thanks a lot.

Actions #1

Updated by Mohamed Rebai about 9 years ago

Example of how to use aria- attributes http://www.oaa-accessibility.org/examplep/tooltip1/

Actions #2

Updated by Markus Klein about 9 years ago

  • Category set to Fluid
  • Status changed from New to Accepted
  • Complexity set to easy
Actions #3

Updated by Markus Klein about 9 years ago

Workaround: there is an attribute called: additionalAttributes which allows you to add them.
Not very intuitive, but we still wait for a generic solution like https://review.typo3.org/31708/

I doubt that we can/will fix that in 6.2 though.

Actions #4

Updated by Claus Due over 8 years ago

  • Status changed from Accepted to Resolved

Use solution suggested by Markus: additionalAttributes. They were intended to fit this very use case.

A truly generic solution may never come. It's very long to get into the details here so suffice it to say that this has an impact on every part of Fluid right from the Parser via the Compiler to the ViewHelperInterface(s) and relaxing the current parser rules could be disastrous unless handled more carefully than you'd handle a five ton barrel of dynamite. Any even minor incompatibility in the expressions and many, many production sites could break. In any case: we would be handling this as another issue (for example the WIP opened by Marc).

Setting to "resolved" because there is a valid workaround and in-progress generic feature (which does not yet have an issue I can link to, but follow the Gerrit request to stay tuned).

Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF