mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
55b465c196
The raw svg was represented to a11y dom as 256x256 images (due to the 'use'). Convert the raw SVG to a base64 encoded img data uri and provide it with an alt attribute describing the function. While the qr code is duplicate with the 'manual' code below it, it is not decorative so should not suppress alt. It's a big image and if you use touch interaction, it would create a big blank spot. It is useful to know for users that the QR code is there. The img wrapping should also make the SVG usage slightly safer. It avoids any potential remote resource usage from inside the SVG. While this is not a direct danger right now, compromised php packages can happen, and this limits the impact in that case. Bug: T151550 Change-Id: I568927ace95a1fdf9cd7990bc7de8461718aa1c1 |
||
---|---|---|
.phan | ||
i18n | ||
maintenance | ||
modules/totp | ||
sql | ||
src | ||
tests/phpunit | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
OATHAuth.alias.php | ||
package-lock.json | ||
package.json | ||
ServiceWiring.php |