alt

Swap alt keys functionality

我只是一个虾纸丫 提交于 2019-12-07 12:16:50
问题 I need to swap Alt keys functionality in Windows 7. A big company needs that for old people that were writing on typewriters, which had diacritic characters key on the left side, but Win7 which they are working on now has right Alt for this purpose. Two days of research brought me to a driver solution. I need source code for original Windows 7 drivers (two .sys files seem to be the keyboard drivers), and possibily to modify them in Windows DDK. Or I need to make an additional driver that

“alt” attribute on images and “title” attribute on links required in HTML5?

拈花ヽ惹草 提交于 2019-12-07 09:37:00
问题 Me and other developers at our company are struggling with "title" and "alt" attributes. In the past, we added "title"-Tags to all links for SEO purposes (although some of them were annoing talking about usability) and "alt"-Tags on every image on the site, because HTML4 spec said so. Are "title" and "alt"-Tags still required ? If they're not required, do they still have effects on SEO? 回答1: Check the HTML specification to see what is/isn’t required: a element: The (global) title attribute is

Alt+Tab using Java Robot

余生颓废 提交于 2019-12-05 23:41:08
问题 I am trying to bring up the alt + tab menu with a Java Robot. When I call the alt_tab() method, I want to bring up the alt + tab menu and keep the menu up. I know this can be achieved using alt + ctrl + tab . So far I have tried the code below, and also just alt + tab without the control key. I am not sure why it's not bringing up the menu. All it does is emulate pressing the alt key. public void alt_tab() { Robot robot = new Robot(); robot.keyPress(KeyEvent.VK_ALT); robot.keyPress(KeyEvent

Swap alt keys functionality

前提是你 提交于 2019-12-05 22:20:46
I need to swap Alt keys functionality in Windows 7. A big company needs that for old people that were writing on typewriters, which had diacritic characters key on the left side, but Win7 which they are working on now has right Alt for this purpose. Two days of research brought me to a driver solution. I need source code for original Windows 7 drivers (two .sys files seem to be the keyboard drivers), and possibily to modify them in Windows DDK. Or I need to make an additional driver that would work with the default ones. As I can see, the solution would be in C or C++. But what way do I have

“alt” attribute on images and “title” attribute on links required in HTML5?

独自空忆成欢 提交于 2019-12-05 17:36:50
Me and other developers at our company are struggling with "title" and "alt" attributes. In the past, we added "title"-Tags to all links for SEO purposes (although some of them were annoing talking about usability) and "alt"-Tags on every image on the site, because HTML4 spec said so. Are "title" and "alt"-Tags still required ? If they're not required, do they still have effects on SEO? unor Check the HTML specification to see what is/isn’t required: a element : The ( global ) title attribute is not required. img element : The alt attribute is required in most cases ( exceptions ). (Questions

Is there a standard way to provide alt=“” text for screen-readers on HTML5 ads / animations?

人盡茶涼 提交于 2019-12-04 14:19:15
When creating HTML5 animations, is there a technique that can be used to "synchronize" the alternate text so that screen-readers reads the given element that appears the moment it appears (or triggered by an event / timeline-driven)? Ideally, something that I could invoke with GSAP (using it as the animation library for my projects). Or could such a thing just make the screen-reader speak and pause repeatedly too often, ending up sounding more frustrating than actually enhancing the experience of the user? Would I be better off just to paste essentially a "script" of all the animation that is

Is alt the same as alt=“”?

偶尔善良 提交于 2019-12-04 03:51:26
问题 I'm adding alt attributes to all my images to improve SEO/screen reader performance. Per best practice, images that are purely aesthetic should have an empty alt attribute alt="" so screen readers skip over them. I'm in WordPress and noticed it does add alt to these descriptionless aesthetic images, but not alt="" . Does alt get read the same as alt="" by screen readers and search engine crawlers, or should I go in and programatically force an alt="" ? 回答1: Yes, it's the same: https://www.w3

Put title/alt attributes into CSS :after { content: image }?

不问归期 提交于 2019-12-03 12:25:38
I’ve got the following CSS to add a PDF icon to any link that links to a PDF: a.pdf-link:after { padding-left: 2px; content: url(../images/icon-pdf-link.gif);} Is it possible to put some title and alt attributes on this image? I would like it so that the user is able to hover over the icon and get some text like “This links to a .pdf file.” Which I’ve typically done just by putting title attributes to it, but can’t figure out if I can do that through this method. No, content only accepts raw text and image data, not HTML. You need to use JavaScript to dynamically add tooltips to your existing

Is <img src=“[srcpath]” alt=“”> the same as <img src=“[srcpath]” alt> when it comes to accessibility?

為{幸葍}努か 提交于 2019-12-02 03:06:31
问题 <img src="[srcpath]" alt=""> <img src="[srcpath]" alt> That is to say: Are those both considered null values for image alt text? Or must you ensure the alt="" is present? 回答1: You should use the alt="" attribute. Each example of the null alt attribute in the specs for providing alternative text for an image explicitly uses it. Here's another resource on the empty alt="" attribute However.. if I were to look at the DOM inspector in Chrome and look at an img that had alt="" in the source code,

How can I only get the alt attribute of the a p tag in PHP?

旧街凉风 提交于 2019-12-01 21:37:04
问题 I'm working on a script that echo's only the price. If I do: $alttag = $oNode['p']; echo $alttag; It will echo everything in <p></p> . So it will echo: roodmerk of cafeïnevrij pak 500 gram 2 pakken prijs per kilo 1,99 199 from the website, so you can see it echo´s 199, that´s the price but first I ONLY need 199 in the <p></p> and I want . or , between 199 so it will show 1,99 or 1.99. If I do: $alttag = $oNode['p sup']; echo $alttag; It will only echo 99 out of <sup></sup> If I do: $alttag =