-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(accessibility): add alternate text to .gm-resize-trigger object #67
base: master
Are you sure you want to change the base?
Conversation
Use cssnano and Uglify JS
for lighthouse validation — https://web.dev/object-alt/
perf(jquery) remove JQuery, replace all JQuery dependencies perf(deferjs): migrate to Defer.js — https://appseeds.net/defer.js/demo.html refactor(pelican): single template for articles and pages with includes — https://bernhard.scheirle.de/posts/2016/March/07/seo-how-to-exclude-pages-and-articles-with-pelican/#how-to-use-the-noindex-html-meta-tag-with-pelican perf(fonts): increase fonts downloading speed — https://csswizardry.com/2020/05/the-fastest-google-fonts/ refactor(peru): remove all Python third-party packages from repository — buildinspace/peru#205 (comment) upd(python): Python and Pipenv to latest versions fix(just_table): apply just_table for all types of articles and pages — burakkose/just_table#9 upd(css): migrate from PurifyCSS to PurgeCSS lint(links): checkPages for checking internal links — https://www.npmjs.com/package/check-pages fix(accessibility): some improvements for the own code and Gemini scrollbar — noeldelgado/gemini-scrollbar#67 fix(favicons): apply RealFavicon for all HTML lint(csslint): drop CSSLint support, I can’t ignore CSS4 parts of a code — CSSLint/csslint#720 (comment)
@noeldelgado, please add finally this line: obj.textContent = 'Resize trigger'; Thanks. |
Type: Update ⬆ @noeldelgado, please review the changes. 1. ChangesI have updated my changes: - obj.textContent = 'Resize trigger';
+ obj.setAttribute('aria-label', 'Resize trigger'); 2. ArgumentationFor Lighthouse 11.4.0
3. Comparison
4. Environment
Thanks. |
1. Changes
.gm-resize-trigger
object.index.js
use UglifyJS.2. Argumentation
2.1. Summary
For successful lighthouse validation.
2.2. Details
<object>
elements do not have [alt] text<object>
elements must have alternate text3. Steps to reproduce
I opened pages with Gemini Scrollbar in Chromium:
→ I ran lighthouse from Chrome DevTools → see below parts of lighthouse reports.
4. Behavior
4.1. Before
Object from DevTools Elements panel:
Part of lighthouse report:
4.2. After
Object from DevTools Elements panel:
Part of lighthouse report:
5. Techniques used
Node.textContent
.Internet Explorer 8 doesn’t support it, but Gemini Scrollbar supports IE9+. Another browsers must successfully support
Node.textContent
.6. Testing environment
--disable-extensions
flag.Thanks.